aboutsummaryrefslogtreecommitdiff
path: root/test/includes/pre/fcntl.h
diff options
context:
space:
mode:
authorMichael Reed <Pyrohh@users.noreply.github.com>2016-01-15 00:33:49 -0500
committerMichael Reed <Pyrohh@users.noreply.github.com>2016-01-15 00:33:49 -0500
commitd4fb5920d342de43548e50bd3a968e66d0eea71e (patch)
tree8d3aac2ff1985b956cca731fa0669ed0300fdbc0 /test/includes/pre/fcntl.h
parent0b23dec35e46a530b155189f17f6bba6ddc3aebe (diff)
parent729064af5fd154716a644fb89c1b165e44972454 (diff)
downloadrneovim-d4fb5920d342de43548e50bd3a968e66d0eea71e.tar.gz
rneovim-d4fb5920d342de43548e50bd3a968e66d0eea71e.tar.bz2
rneovim-d4fb5920d342de43548e50bd3a968e66d0eea71e.zip
Merge pull request #4019 from Pyrohh/fcntl
[RFC] test: sys/fcntl.h -> fcntl.h
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;