diff options
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r-- | libc/sysdeps/linux/common/poll.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/poll.c b/libc/sysdeps/linux/common/poll.c index 9896ef858..3c26a4933 100644 --- a/libc/sysdeps/linux/common/poll.c +++ b/libc/sysdeps/linux/common/poll.c @@ -17,16 +17,16 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#ifdef __NR_poll - #include "syscalls.h" #include <sys/poll.h> + +#ifdef __NR_poll + _syscall3(int, poll, struct pollfd *, fds, unsigned long int, nfds, int, timeout); #else #include <alloca.h> -#include <sys/poll.h> #include <sys/types.h> #include <errno.h> #include <string.h> |