diff src/solaris/native/java/net/PlainSocketImpl.c @ 3819:51ef29aafc1b

6835668: Use of /usr/include/linux/ files creates a dependence on kernel-headers Reviewed-by: chegar
author michaelm
date Thu, 24 Feb 2011 18:35:17 +0000
parents a06412e13bf7
children 241d5769859e 272483f6650b
line wrap: on
line diff
--- a/src/solaris/native/java/net/PlainSocketImpl.c	Thu Feb 24 13:42:10 2011 +0000
+++ b/src/solaris/native/java/net/PlainSocketImpl.c	Thu Feb 24 18:35:17 2011 +0000
@@ -42,8 +42,8 @@
 #include <fcntl.h>
 #endif
 #ifdef __linux__
-#include <linux/unistd.h>
-#include <linux/sysctl.h>
+#include <unistd.h>
+#include <sys/sysctl.h>
 #endif
 
 #include "jvm.h"