From 257323e525f0cc2774bea4823b3518d0dce87142 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Thu, 11 Oct 2012 10:12:24 +0100 Subject: epoll: Use epoll_create1 if arch does not have the epoll_create syscall 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 1f985e05f..0f000f0ed 100644 --- a/libc/sysdeps/linux/common/stubs.c +++ b/libc/sysdeps/linux/common/stubs.c @@ -94,7 +94,8 @@ make_stub(create_module) make_stub(delete_module) #endif -#if !defined __NR_epoll_create && defined __UCLIBC_HAS_EPOLL__ +#if !defined __NR_epoll_create && defined __UCLIBC_HAS_EPOLL__ \ + && !defined __NR_epoll_create1 make_stub(epoll_create) #endif -- cgit v1.2.3