From: fanquake Date: Mon, 22 Jun 2020 11:40:06 +0000 (+0800) Subject: wepoll: use lower-cased windows headers X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45c3fc29fb2240dbaa066c971f3fd59861293305;p=libevent 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 --- 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)