# HG changeset patch # User michaelm # Date 1298572517 0 # Node ID b924a92a7c840ff4105add4d1787479f25cfb295 # Parent 130426abe301d9934f0034f62c32bdf51faec291 6835668: Use of /usr/include/linux/ files creates a dependence on kernel-headers Reviewed-by: chegar diff -r 130426abe301 -r b924a92a7c84 jdk/src/solaris/native/java/net/NetworkInterface.c --- a/jdk/src/solaris/native/java/net/NetworkInterface.c Thu Feb 24 13:42:10 2011 +0000 +++ b/jdk/src/solaris/native/java/net/NetworkInterface.c Thu Feb 24 18:35:17 2011 +0000 @@ -45,7 +45,6 @@ #ifdef __linux__ #include #include -#include #include #include #endif diff -r 130426abe301 -r b924a92a7c84 jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c --- a/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c Thu Feb 24 13:42:10 2011 +0000 +++ b/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c Thu Feb 24 18:35:17 2011 +0000 @@ -34,8 +34,8 @@ #include #endif #ifdef __linux__ -#include -#include +#include +#include #include #include diff -r 130426abe301 -r b924a92a7c84 jdk/src/solaris/native/java/net/PlainSocketImpl.c --- a/jdk/src/solaris/native/java/net/PlainSocketImpl.c Thu Feb 24 13:42:10 2011 +0000 +++ b/jdk/src/solaris/native/java/net/PlainSocketImpl.c Thu Feb 24 18:35:17 2011 +0000 @@ -42,8 +42,8 @@ #include #endif #ifdef __linux__ -#include -#include +#include +#include #endif #include "jvm.h"