summaryrefslogtreecommitdiff
path: root/lib/libc/poll/poll.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/poll/poll.c')
-rw-r--r--lib/libc/poll/poll.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/poll/poll.c b/lib/libc/poll/poll.c
index 4ff90aa6..24d91db6 100644
--- a/lib/libc/poll/poll.c
+++ b/lib/libc/poll/poll.c
@@ -1,5 +1,7 @@
-#include <poll.h>
-#include <syscall.h>
+#include "asm/unistd_64.h" // for __NR_poll
+
+#include <poll.h> // for nfds_t, poll, pollfd
+#include <syscall.h> // for __syscall_3, syscall
int poll(struct pollfd fds[], nfds_t nfds, int timeout)
{