If not WIN32, include <sys/socket.h> in event2/util.h.

This commit is contained in:
Kevin Bowling 2010-11-23 19:26:34 -07:00 committed by Nick Mathewson
parent c2e5e22c4c
commit 1cd45e5660

View 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