aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/compat/fcntl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/compat/fcntl.h b/include/compat/fcntl.h
index 99c2d58..edc468a 100644
--- a/include/compat/fcntl.h
+++ b/include/compat/fcntl.h
@@ -29,4 +29,10 @@
29#define FD_CLOEXEC 1 29#define FD_CLOEXEC 1
30#endif 30#endif
31 31
32int posix_open(const char *path, ...);
33
34#ifndef NO_REDEF_POSIX_FUNCTIONS
35#define open(path, ...) posix_open(path, __VA_ARGS__)
36#endif
37
32#endif 38#endif