From 16b47aa1774a3c3d0c2887f94edab4d21a1e2230 Mon Sep 17 00:00:00 2001 From: Charles Lee <littlee@linux.vnet.ibm.com> Date: Thu, 13 Oct 2011 13:02:37 +0100 Subject: [PATCH] 7107957: AWT: Native code should include fcntl.h and unistd.h rather than sys/fcntl.h and sys/unistd.h Use POSIX defined includes for unistd.h and fcntl.h Reviewed-by: anthony, ngmr --- .../solaris/native/sun/awt/splashscreen/splashscreen_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdk/src/solaris/native/sun/awt/splashscreen/splashscreen_config.h b/jdk/src/solaris/native/sun/awt/splashscreen/splashscreen_config.h index bb031656aee..e312c2bc6dc 100644 --- a/jdk/src/solaris/native/sun/awt/splashscreen/splashscreen_config.h +++ b/jdk/src/solaris/native/sun/awt/splashscreen/splashscreen_config.h @@ -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>