summaryrefslogtreecommitdiffstats
path: root/include/fcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fcntl.h')
-rw-r--r--include/fcntl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/fcntl.h b/include/fcntl.h
new file mode 100644
index 0000000..b12e6c9
--- /dev/null
+++ b/include/fcntl.h
@@ -0,0 +1,8 @@
+#ifdef HAVE_FCNTL_H
+#include_next <fcntl.h>
+#endif
+
+#ifndef HAVE_OPEN64
+#define HAVE_OPEN64 1
+#define open64 open
+#endif