]> granicus.if.org Git - libevent/commitdiff
If not WIN32, include <sys/socket.h> in event2/util.h.
authorKevin Bowling <kevin.bowling@kev009.com>
Wed, 24 Nov 2010 02:26:34 +0000 (19:26 -0700)
committerNick Mathewson <nickm@torproject.org>
Wed, 24 Nov 2010 03:24:46 +0000 (22:24 -0500)
include/event2/util.h

index ff24a1478fbea2479c49227fe13aec0ca33957a9..cada314ac6ada2b6ce41e4f306c0030add224c14 100644 (file)
@@ -65,6 +65,8 @@ extern "C" {
 
 #ifdef WIN32
 #include <winsock2.h>
+#else
+#include <sys/socket.h>
 #endif
 
 /* Integer type definitions for types that are supposed to be defined in the