From af63ec925e7e7f6eb19dde5f51c8ebec44a10607 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Thu, 11 Oct 2012 10:23:19 +0100 Subject: inotify_init: Use inotify_init1 if inotify_init syscall is not defined Signed-off-by: Markos Chandras Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/stubs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/stubs.c') 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 -- cgit v1.2.3