summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/inotify.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/inotify.c')
-rw-r--r--libc/sysdeps/linux/common/inotify.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/inotify.c b/libc/sysdeps/linux/common/inotify.c
index e5a612076..e35f0430c 100644
--- a/libc/sysdeps/linux/common/inotify.c
+++ b/libc/sysdeps/linux/common/inotify.c
@@ -15,6 +15,10 @@
_syscall0(int, inotify_init)
#endif
+#ifdef __NR_inotify_init1
+_syscall1(int, inotify_init1, int, flags)
+#endif
+
#ifdef __NR_inotify_add_watch
_syscall3(int, inotify_add_watch, int, fd, const char *, path, uint32_t, mask)
#endif