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