summaryrefslogtreecommitdiff
path: root/lib/libc/socket/sockatmark.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/socket/sockatmark.c')
-rw-r--r--lib/libc/socket/sockatmark.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/socket/sockatmark.c b/lib/libc/socket/sockatmark.c
index f7178aa0..4ae64d95 100644
--- a/lib/libc/socket/sockatmark.c
+++ b/lib/libc/socket/sockatmark.c
@@ -1,5 +1,7 @@
-#include <syscall.h>
-#include <asm-generic/sockios.h>
+#include "asm/unistd_64.h" // for __NR_ioctl
+
+#include <asm-generic/sockios.h> // for SIOCATMARK
+#include <syscall.h> // for __syscall_3, syscall
int sockatmark(int s)
{