diff options
Diffstat (limited to 'lib/libc/socket/send.c')
| -rw-r--r-- | lib/libc/socket/send.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/socket/send.c b/lib/libc/socket/send.c index a2760a2f..7ba42525 100644 --- a/lib/libc/socket/send.c +++ b/lib/libc/socket/send.c @@ -1,5 +1,8 @@ -#include <sys/socket.h> -#include <syscall.h> +#include "asm/unistd_64.h" // for __NR_sendto + +#include <sys/socket.h> // for send +#include <sys/types.h> // for size_t, ssize_t +#include <syscall.h> // for __syscall_6, syscall ssize_t send(int socket, const void *buffer, size_t length, int flags) { |
