about summary refs log tree commit diff
path: root/include/fcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fcntl.h')
-rw-r--r--include/fcntl.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/fcntl.h b/include/fcntl.h
index f5bfebc8..ebd5c304 100644
--- a/include/fcntl.h
+++ b/include/fcntl.h
@@ -37,9 +37,8 @@ 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_SEARCH  O_PATH
+#define O_EXEC    O_PATH
 
 #define O_ACCMODE (03|O_SEARCH)
 #define O_RDONLY  00