From 17e3412363bf5263c26d9bf1dfbef1fecc3d11a9 Mon Sep 17 00:00:00 2001 From: Xue-Lei Andrew Fan Date: Wed, 9 Nov 2022 17:36:12 +0000 Subject: [PATCH] 8296615: use of undeclared identifier 'IPV6_DONTFRAG' Reviewed-by: michaelm --- src/jdk.net/macosx/native/libextnet/MacOSXSocketOptions.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/jdk.net/macosx/native/libextnet/MacOSXSocketOptions.c b/src/jdk.net/macosx/native/libextnet/MacOSXSocketOptions.c index 296a4fd73072..762aa54cb058 100644 --- a/src/jdk.net/macosx/native/libextnet/MacOSXSocketOptions.c +++ b/src/jdk.net/macosx/native/libextnet/MacOSXSocketOptions.c @@ -38,6 +38,10 @@ #define IP_DONTFRAG 28 #endif +#ifndef IPV6_DONTFRAG +#define IPV6_DONTFRAG 62 +#endif + #include "jni_util.h" /*