5ff7ed65db
Tracked upstream as JDK-8244461
23 lines
755 B
Diff
23 lines
755 B
Diff
diff --git a/src/solaris/native/java/net/PlainDatagramSocketImpl.c b/src/solaris/native/java/net/PlainDatagramSocketImpl.c
|
|
--- openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c
|
|
+++ openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c
|
|
@@ -41,7 +41,6 @@
|
|
#endif
|
|
#ifdef __linux__
|
|
#include <unistd.h>
|
|
-#include <sys/sysctl.h>
|
|
#include <sys/utsname.h>
|
|
#include <netinet/ip.h>
|
|
|
|
diff --git a/src/solaris/native/java/net/PlainSocketImpl.c b/src/solaris/native/java/net/PlainSocketImpl.c
|
|
--- openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c
|
|
+++ openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c
|
|
@@ -43,7 +43,6 @@
|
|
#endif
|
|
#ifdef __linux__
|
|
#include <unistd.h>
|
|
-#include <sys/sysctl.h>
|
|
#endif
|
|
|
|
#include "jvm.h"
|