summaryrefslogtreecommitdiff
path: root/lib/libc/socket/shutdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/socket/shutdown.c')
-rw-r--r--lib/libc/socket/shutdown.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/socket/shutdown.c b/lib/libc/socket/shutdown.c
index 96c8053c..7fcae79b 100644
--- a/lib/libc/socket/shutdown.c
+++ b/lib/libc/socket/shutdown.c
@@ -1,4 +1,6 @@
-#include <syscall.h>
+#include "asm/unistd_64.h" // for __NR_shutdown
+
+#include <syscall.h> // for __syscall_2, syscall
int shutdown(int socket, int how)
{