7100054: (porting) 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: dholmes, alanb, chegar, ngmr
This commit is contained in:
Charles Lee 2011-10-13 12:30:51 +01:00 committed by Neil Richards
parent 75c70b068f
commit 448e208ddb
2 changed files with 2 additions and 2 deletions

View File

@ -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>
/**

View File

@ -26,7 +26,7 @@
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
#include <sys/fcntl.h>
#include <fcntl.h>
#include <sys/stat.h>
/**