From ca0dda797a7282c9badaaeee80a24ba2ea56bee4 Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 10 Aug 2009 12:46:22 +0200 Subject: [PATCH] (evcom) SOL_SOCKET got renamed in socket,stream renaming This was breaking the build on Macintosh. --- deps/evcom/evcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/evcom/evcom.c b/deps/evcom/evcom.c index 5e37822ccf7..99881ebd9a3 100644 --- a/deps/evcom/evcom.c +++ b/deps/evcom/evcom.c @@ -656,7 +656,7 @@ accept_connection (evcom_server *server) #ifdef SO_NOSIGPIPE int flags = 1; - int r = setsockopt(fd, SOL_STREAM, SO_NOSIGPIPE, &flags, sizeof(flags)); + int r = setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &flags, sizeof(flags)); if (r < 0) goto error; #endif