From 30b7b30245ce90a1b67fb274e10ae8296844054f Mon Sep 17 00:00:00 2001 From: michaelm Date: Thu, 24 Feb 2011 18:35:17 +0000 Subject: [PATCH] 6835668: Use of /usr/include/linux/ files creates a dependence on kernel-headers Reviewed-by: chegar --- src/solaris/native/java/net/NetworkInterface.c | 1 - src/solaris/native/java/net/PlainDatagramSocketImpl.c | 4 ++-- src/solaris/native/java/net/PlainSocketImpl.c | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/solaris/native/java/net/NetworkInterface.c b/src/solaris/native/java/net/NetworkInterface.c index d85ca799d..4bfd4dab9 100644 --- a/src/solaris/native/java/net/NetworkInterface.c +++ b/src/solaris/native/java/net/NetworkInterface.c @@ -45,7 +45,6 @@ #ifdef __linux__ #include #include -#include #include #include #endif diff --git a/src/solaris/native/java/net/PlainDatagramSocketImpl.c b/src/solaris/native/java/net/PlainDatagramSocketImpl.c index 03e3a64c0..0eb2a9be8 100644 --- a/src/solaris/native/java/net/PlainDatagramSocketImpl.c +++ b/src/solaris/native/java/net/PlainDatagramSocketImpl.c @@ -34,8 +34,8 @@ #include #endif #ifdef __linux__ -#include -#include +#include +#include #include #include diff --git a/src/solaris/native/java/net/PlainSocketImpl.c b/src/solaris/native/java/net/PlainSocketImpl.c index 018e264ef..9aca80609 100644 --- a/src/solaris/native/java/net/PlainSocketImpl.c +++ b/src/solaris/native/java/net/PlainSocketImpl.c @@ -42,8 +42,8 @@ #include #endif #ifdef __linux__ -#include -#include +#include +#include #endif #include "jvm.h" -- GitLab