summaryrefslogtreecommitdiff
path: root/include/sys/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/socket.h')
-rw-r--r--include/sys/socket.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h
index 97d78871..4afec4ef 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -255,6 +255,10 @@ int sockatmark (int);
#define SHUT_WR 1
#define SHUT_RDWR 2
+#ifdef _GNU_SOURCE
+int accept4(int, struct sockaddr *__restrict, socklen_t *__restrict, int);
+#endif
+
#ifdef __cplusplus
}
#endif