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