[klibc] [klibc:master] include: [sys/socket.h] define SOMAXCONN
klibc-bot for maximilian attems
max at stro.at
Tue May 22 08:36:04 PDT 2012
Commit-ID: 5576c967f86387f8a2eeeaa58d67f3cc6b51853a
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=5576c967f86387f8a2eeeaa58d67f3cc6b51853a
Author: maximilian attems <max at stro.at>
AuthorDate: Tue, 22 May 2012 17:25:46 +0200
Committer: maximilian attems <max at stro.at>
CommitDate: Tue, 22 May 2012 17:30:09 +0200
[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 at stro.at>
---
usr/include/sys/socket.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/usr/include/sys/socket.h b/usr/include/sys/socket.h
index 38cfef6..3334212 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 */
More information about the klibc
mailing list