aboutsummaryrefslogtreecommitdiff
path: root/test/includes/pre/fcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/includes/pre/fcntl.h')
-rw-r--r--test/includes/pre/fcntl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/includes/pre/fcntl.h b/test/includes/pre/fcntl.h
new file mode 100644
index 0000000000..9c50ed5b1d
--- /dev/null
+++ b/test/includes/pre/fcntl.h
@@ -0,0 +1,7 @@
+#include <fcntl.h>
+
+static const mode_t kO_RDONLY = O_RDONLY;
+static const mode_t kO_WRONLY = O_WRONLY;
+static const mode_t kO_RDWR = O_RDWR;
+static const mode_t kO_CREAT = O_CREAT;
+static const mode_t kO_EXCL = O_EXCL;