Mercurial > hg > openjdk > icedtea > jdk7 > jdk
changeset 5477:1c92956f67bf
7100054: (porting) 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: dholmes, alanb, chegar, ngmr
Contributed-by: Charles Lee <littlee@linux.vnet.ibm.com>
author | ngmr |
---|---|
date | Thu, 13 Oct 2011 12:30:51 +0100 |
parents | 78e3cfc05ce9 |
children | acd4007a7436 |
files | src/solaris/native/sun/nio/fs/genSolarisConstants.c src/solaris/native/sun/nio/fs/genUnixConstants.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/solaris/native/sun/nio/fs/genSolarisConstants.c Thu Jul 12 23:49:23 2012 +0100 +++ b/src/solaris/native/sun/nio/fs/genSolarisConstants.c Thu Oct 13 12:30:51 2011 +0100 @@ -27,7 +27,7 @@ #include <errno.h> #include <unistd.h> #include <sys/acl.h> -#include <sys/fcntl.h> +#include <fcntl.h> #include <sys/stat.h> /**
--- a/src/solaris/native/sun/nio/fs/genUnixConstants.c Thu Jul 12 23:49:23 2012 +0100 +++ b/src/solaris/native/sun/nio/fs/genUnixConstants.c Thu Oct 13 12:30:51 2011 +0100 @@ -26,7 +26,7 @@ #include <stdio.h> #include <errno.h> #include <unistd.h> -#include <sys/fcntl.h> +#include <fcntl.h> #include <sys/stat.h> /**