Mercurial > hg > openjdk > icedtea > jdk7 > jdk
changeset 5478:acd4007a7436
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>
author | ngmr |
---|---|
date | Thu, 13 Oct 2011 13:02:37 +0100 |
parents | 1c92956f67bf |
children | d300cb62fd4a |
files | src/solaris/native/sun/awt/splashscreen/splashscreen_config.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/solaris/native/sun/awt/splashscreen/splashscreen_config.h Thu Oct 13 12:30:51 2011 +0100 +++ b/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>