7107957: AWT: Native code should include fcntl.h and unistd.h rather than sys/fcntl.h and sys/unistd.h
authorngmr
Thu, 13 Oct 2011 13:02:37 +0100
changeset 10877 f8df7f780d80
parent 10876 d0194a3fc933
child 10878 978071ed312e
7107957: AWT: Native code should include fcntl.h and unistd.h rather than sys/fcntl.h and sys/unistd.h Summary: Use POSIX defined includes for unistd.h and fcntl.h Reviewed-by: anthony, ngmr Contributed-by: Charles Lee <littlee@linux.vnet.ibm.com>
jdk/src/solaris/native/sun/awt/splashscreen/splashscreen_config.h
--- a/jdk/src/solaris/native/sun/awt/splashscreen/splashscreen_config.h	Thu Nov 03 14:14:36 2011 +0400
+++ b/jdk/src/solaris/native/sun/awt/splashscreen/splashscreen_config.h	Thu Oct 13 13:02:37 2011 +0100
@@ -32,7 +32,7 @@
 #include <X11/Xutil.h>
 #include <X11/extensions/shape.h>
 #include <sys/types.h>
-#include <sys/unistd.h>
+#include <unistd.h>
 #include <pthread.h>
 #include <signal.h>
 #include <inttypes.h>