[klibc] [PATCH] include: [socket.h] add missing definitions
maximilian attems
max at stro.at
Tue Aug 2 14:12:35 PDT 2011
udev asks for SOCK_CLOEXEC and SOCK_NONBLOCK.
Signed-off-by: maximilian attems <max at stro.at>
---
usr/include/sys/socket.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/usr/include/sys/socket.h b/usr/include/sys/socket.h
index f09fd03..fbc7711 100644
--- a/usr/include/sys/socket.h
+++ b/usr/include/sys/socket.h
@@ -28,6 +28,8 @@
# define SOCK_RDM 4
# define SOCK_SEQPACKET 5
# define SOCK_PACKET 10
+# define SOCK_CLOEXEC 02000000
+# define SOCK_NONBLOCK 04000
#endif
#ifndef AF_INET
--
1.7.5.4
More information about the klibc
mailing list