summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-05-29 19:15:25 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-05-29 19:15:25 -0400
commit63126619bb1274dc5edba69f2fd7d6c74d551425 (patch)
tree54113be4ea6896d5ef847114dbe9a27f187c1b36
parent10647c881b4d2740a226cb954cf4b91c6e462907 (diff)
src/shared/missing.h: O_PATH and AT_EMPTY_PATH missing in uClibc's <fcntl.h>
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r--src/shared/missing.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h
index a5cf627373..2dc9d842d3 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -150,3 +150,11 @@ static inline int name_to_handle_at(int fd, const char *name, struct file_handle
#ifndef INPUT_PROP_ACCELEROMETER
#define INPUT_PROP_ACCELEROMETER 0x06
#endif
+
+#ifndef O_PATH
+#define O_PATH 010000000
+#endif
+
+#ifndef AT_EMPTY_PATH
+#define AT_EMPTY_PATH 0x1000
+#endif