From 45c3fc29fb2240dbaa066c971f3fd59861293305 Mon Sep 17 00:00:00 2001 From: fanquake Date: Mon, 22 Jun 2020 19:40:06 +0800 Subject: [PATCH] wepoll: use lower-cased windows headers This matches their use throughout the rest of the project, and fixes the build when you are cross-compiling on Linux using mingw-w64. i.e: CC epoll.lo CC wepoll.lo CC signal.lo wepoll.c:138:10: fatal error: WS2tcpip.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:1918: wepoll.lo] Error 1 --- wepoll.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wepoll.c b/wepoll.c index a9c59bbd..88991ed9 100644 --- a/wepoll.c +++ b/wepoll.c @@ -135,9 +135,9 @@ WEPOLL_EXPORT int epoll_wait(HANDLE ephnd, #pragma warning(push, 1) #endif -#include -#include -#include +#include +#include +#include #ifndef __GNUC__ #pragma warning(pop) -- 2.50.1