summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/syscalls.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c
index 0cbec3f08..b4ee02338 100644
--- a/libc/sysdeps/linux/common/syscalls.c
+++ b/libc/sysdeps/linux/common/syscalls.c
@@ -1721,13 +1721,15 @@ int getresuid (uid_t *ruid, uid_t *euid, uid_t *suid)
#endif
//#define __NR_poll 168
-#if defined(L_poll) && defined(__NR_poll)
+#ifdef L_poll
+#ifdef __NR_poll
#include <sys/poll.h>
_syscall3(int, poll, struct pollfd *, fds, unsigned long int, nfds, int, timeout);
#else
/* uClinux 2.0 doesn't have poll, emulate it using select */
#include "poll.c"
#endif
+#endif
//#define __NR_nfsservctl 169
//nfsservctl EXTRA nfsservctl i:ipp nfsservctl