summaryrefslogtreecommitdiff
path: root/lib/libc/select/select.c
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-09 23:14:53 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-09 23:14:53 +0100
commit169daa11155988a210fac949297381743f3cb400 (patch)
tree602ef5df5ae9ea075ab3d5dac3c8ad60da1ea2cc /lib/libc/select/select.c
parent4e2112e165fdd94dee58378e3ea32892f3710cd7 (diff)
feat: clang-tidy fixes
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 58c96348..786724a8 100644
--- a/lib/libc/select/select.c
+++ b/lib/libc/select/select.c
@@ -1,6 +1,8 @@
-#include "asm/unistd_64.h" // for __NR_pselect6
+#define __BITS_SELECT_H_
+#include "bits/select.h" // for fd_set, timeval (ptr only)
-#include <sys/select.h> // for fd_set, select
+
+#include <sys/select.h> // for select
#include <syscall.h> // for __syscall_6, syscall, syscall_arg_t
int select(int nfds, fd_set *restrict readfds, fd_set *restrict writefds,