aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libev/0000-event-fix-undefined-struct-timeval.patch
blob: 3ffce5f16d232f0920d9a3bfd4d0e6bb0a2db8de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/event.c b/event.c
index 5586cd3..a67ca54 100644
--- a/event.c
+++ b/event.c
@@ -40,6 +40,9 @@
 #include <stddef.h>
 #include <stdlib.h>
 #include <assert.h>
+#ifdef _WIN32
+#include <winsock2.h>
+#endif
 
 #ifdef EV_EVENT_H
 # include EV_EVENT_H