From cc5cea35b0e25352ff40780532d4c5a6bba00359 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Mon, 9 Jan 2012 15:45:51 +0100 Subject: [PATCH] uv: upgrade to 803f5a0 --- deps/uv/src/unix/internal.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/deps/uv/src/unix/internal.h b/deps/uv/src/unix/internal.h index 1adb5f2054..3ae5d0542a 100644 --- a/deps/uv/src/unix/internal.h +++ b/deps/uv/src/unix/internal.h @@ -59,6 +59,18 @@ # define HAVE_SYS_ACCEPT4 1 # endif +# ifndef O_CLOEXEC +# define O_CLOEXEC 02000000 +# endif + +# ifndef SOCK_CLOEXEC +# define SOCK_CLOEXEC O_CLOEXEC +# endif + +# ifndef SOCK_NONBLOCK +# define SOCK_NONBLOCK O_NONBLOCK +# endif + # if HAVE_SYS_UTIMESAT inline static int sys_utimesat(int dirfd, const char* path,