vcpkg/ports/libev/0000-event-fix-undefined-struct-timeval.patch
2024-07-30 14:20:13 -07:00

15 lines
259 B
Diff

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