|
@@ -19,6 +19,13 @@ _syscall0(int, inotify_init)
|
|
|
_syscall1(int, inotify_init1, int, flags)
|
|
|
#endif
|
|
|
|
|
|
+#if defined __NR_inotify_init1 && !defined __NR_inotify_init
|
|
|
+int inotify_init(void)
|
|
|
+{
|
|
|
+ return INLINE_SYSCALL(inotify_init1, 1, 0);
|
|
|
+}
|
|
|
+#endif
|
|
|
+
|
|
|
#ifdef __NR_inotify_add_watch
|
|
|
_syscall3(int, inotify_add_watch, int, fd, const char *, path, uint32_t, mask)
|
|
|
#endif
|