(evcom) SOL_SOCKET got renamed in socket,stream renaming

This was breaking the build on Macintosh.
This commit is contained in:
Ryan
2009-08-10 12:46:22 +02:00
parent 738d20f6f0
commit ca0dda797a

2
deps/evcom/evcom.c vendored
View File

@@ -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