mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-17 16:29:28 -04:00
Fixed compilation of sample/le-proxy.c on win32
This commit is contained in:
parent
42a8c71112
commit
13b912e4ac
@ -11,8 +11,13 @@
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
#else
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
#include <event2/bufferevent_ssl.h>
|
||||
#include <event2/bufferevent.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user