diff options
Diffstat (limited to 'lib/libc/socket/accept.c')
| -rw-r--r-- | lib/libc/socket/accept.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/socket/accept.c b/lib/libc/socket/accept.c index 61c469c8..f3ec738d 100644 --- a/lib/libc/socket/accept.c +++ b/lib/libc/socket/accept.c @@ -1,5 +1,7 @@ -#include <sys/socket.h> -#include <syscall.h> +#include "asm/unistd_64.h" // for __NR_accept + +#include <sys/socket.h> // for accept, socklen_t +#include <syscall.h> // for __syscall_3, syscall int accept(int socket, struct sockaddr *restrict address, socklen_t *restrict address_len) |
