maximilian attems
2011-Aug-02 21:12 UTC
[klibc] [PATCH] include: [socket.h] add missing definitions
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