summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/stubs.c
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2012-10-11 10:23:19 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-02-20 13:45:11 +0100
commitaf63ec925e7e7f6eb19dde5f51c8ebec44a10607 (patch)
tree92f4899b365f783a2509b3b8fe80bd1b7c6842c8 /libc/sysdeps/linux/common/stubs.c
parent3db05793b7b35238060f2310176f11b7df3844db (diff)
inotify_init: Use inotify_init1 if inotify_init syscall is not defined
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/stubs.c')
-rw-r--r--libc/sysdeps/linux/common/stubs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/stubs.c b/libc/sysdeps/linux/common/stubs.c
index dfbbd4215..845c9bb01 100644
--- a/libc/sysdeps/linux/common/stubs.c
+++ b/libc/sysdeps/linux/common/stubs.c
@@ -176,7 +176,8 @@ make_stub(init_module)
make_stub(inotify_add_watch)
#endif
-#if !defined __NR_inotify_init && defined __UCLIBC_LINUX_SPECIFIC__
+#if !defined __NR_inotify_init && defined __UCLIBC_LINUX_SPECIFIC__ \
+ && !defined __NR_inotify_init1
make_stub(inotify_init)
#endif