From 8d2887f88475bb26ff4d48b661e26265a74e73bb Mon Sep 17 00:00:00 2001 From: rofl0r Date: Sun, 18 Nov 2012 05:14:40 +0100 Subject: fcntl.h: O_SEARCH was missing for powerpc put some macros that do not differ between architectures in the main header and remove from bits. restructure mips header so it has the same structure as the others. --- include/fcntl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/fcntl.h b/include/fcntl.h index 9250e70e..70d4cbb5 100644 --- a/include/fcntl.h +++ b/include/fcntl.h @@ -37,6 +37,10 @@ int openat(int, const char *, int, ...); int posix_fadvise(int, off_t, off_t, int); int posix_fallocate(int, off_t, off_t); +#define O_SEARCH 010000000 +#define O_EXEC 010000000 +#define O_PATH 010000000 + #define O_ACCMODE (03|O_SEARCH) #define O_RDONLY 00 #define O_WRONLY 01 -- cgit v1.2.1