Mercurial > hg > icedtea9-forest > jdk
changeset 4834:c3da0672a882
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 | 52c2dd336207 |
children | d979afceb792 56cc907fc8dc |
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 Oct 20 09:26:20 2011 +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 Oct 20 09:26:20 2011 +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> /**