summaryrefslogtreecommitdiff
path: root/lib/libc/select/select.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/select/select.c')
-rw-r--r--lib/libc/select/select.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/select/select.c b/lib/libc/select/select.c
index 4e9f2f99..58c96348 100644
--- a/lib/libc/select/select.c
+++ b/lib/libc/select/select.c
@@ -1,5 +1,7 @@
-#include <sys/select.h>
-#include <syscall.h>
+#include "asm/unistd_64.h" // for __NR_pselect6
+
+#include <sys/select.h> // for fd_set, select
+#include <syscall.h> // for __syscall_6, syscall, syscall_arg_t
int select(int nfds, fd_set *restrict readfds, fd_set *restrict writefds,
fd_set *restrict errorfds, struct timeval *restrict timeout)