summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/open.c')
-rw-r--r--libc/sysdeps/linux/common/open.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/open.c b/libc/sysdeps/linux/common/open.c
index 90e990a4f..648f7d053 100644
--- a/libc/sysdeps/linux/common/open.c
+++ b/libc/sysdeps/linux/common/open.c
@@ -14,6 +14,8 @@
#include <string.h>
#include <sys/param.h>
+#undef __open
+#undef open
#define __NR___syscall_open __NR_open
static inline _syscall3(int, __syscall_open, const char *, file,
int, flags, __kernel_mode_t, mode);