diff --git a/base/usr/include/fcntl.h b/base/usr/include/fcntl.h index 1bd3734d..78d14553 100644 --- a/base/usr/include/fcntl.h +++ b/base/usr/include/fcntl.h @@ -17,11 +17,6 @@ _Begin_C_Header #define O_NONBLOCK 0x4000 #define O_DIRECTORY 0x8000 -#define F_OK 1 -#define R_OK 4 -#define W_OK 2 -#define X_OK 1 - #define F_GETFD 1 #define F_SETFD 2 diff --git a/base/usr/include/unistd.h b/base/usr/include/unistd.h index 89fd503b..cac6b7bc 100644 --- a/base/usr/include/unistd.h +++ b/base/usr/include/unistd.h @@ -81,6 +81,11 @@ extern char * getlogin(void); #define SEEK_CUR 1 #define SEEK_END 2 +#define F_OK 0 +#define R_OK 4 +#define W_OK 2 +#define X_OK 1 + extern int gethostname(char * name, size_t len); extern int sethostname(const char * name, size_t len);