mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
If not WIN32, include <sys/socket.h> in event2/util.h.
This commit is contained in:
parent
c2e5e22c4c
commit
1cd45e5660
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user