aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaximilian attems <max@stro.at>2012-05-22 17:25:46 +0200
committermaximilian attems <max@stro.at>2012-05-22 17:30:09 +0200
commit5576c967f86387f8a2eeeaa58d67f3cc6b51853a (patch)
treeb4f57c9f8b905c6ef383ce8ea071e297a172e09c
parentdb9f464c660023eac861d661840fcef6809db163 (diff)
downloadklibc-5576c967f86387f8a2eeeaa58d67f3cc6b51853a.tar.gz
[klibc] include: [sys/socket.h] define SOMAXCONN
It is part of POSIX, noticed while trying to build util-linux stuff. Signed-off-by: maximilian attems <max@stro.at>
-rw-r--r--usr/include/sys/socket.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/include/sys/socket.h b/usr/include/sys/socket.h
index 38cfef68c8fe37..3334212a43ba06 100644
--- a/usr/include/sys/socket.h
+++ b/usr/include/sys/socket.h
@@ -32,6 +32,9 @@
# define SOCK_NONBLOCK 04000
#endif
+/* The maximum backlock queue length. */
+#define SOMAXCONN 128
+
#ifndef AF_INET
#define AF_UNSPEC 0
#define AF_UNIX 1 /* Unix domain sockets */