aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--porting.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/porting.h b/porting.h
index 2d79f28..8f2694b 100644
--- a/porting.h
+++ b/porting.h
@@ -221,6 +221,9 @@
#ifndef O_CLOEXEC
# define O_CLOEXEC 0
#endif
+#ifndef O_PATH
+# define O_PATH 0
+#endif
#define __unused__ __attribute__((__unused__))