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>
--- 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>