From c034b2e1655dd2856f8b6f3247e6e406e46c24a4 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 4 Mar 2010 12:59:10 +0100 Subject: poll: unavailable on linux < 2.2.0 fixes bug #253 Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/poll.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/poll.c') diff --git a/libc/sysdeps/linux/common/poll.c b/libc/sysdeps/linux/common/poll.c index 4a6f06e19..52f6c76b4 100644 --- a/libc/sysdeps/linux/common/poll.c +++ b/libc/sysdeps/linux/common/poll.c @@ -19,8 +19,9 @@ #include #include +#include -#ifdef __NR_poll +#if defined __ASSUME_POLL_SYSCALL && defined __NR_poll _syscall3(int, poll, struct pollfd *, fds, unsigned long int, nfds, int, timeout) -- cgit v1.2.3