From 37f9c25212a207b24f033d666ba78134da393e5d Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 9 Aug 2019 02:28:28 +0300 Subject: [PATCH] port: include winsock2 explicitly, so winsock1 would not be included with windows.h --- common/port.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/port.h b/common/port.h index a6d73568..0649c551 100644 --- a/common/port.h +++ b/common/port.h @@ -116,6 +116,8 @@ GNU General Public License for more details. #pragma warning(disable : 4310) // cast truncates constant value #define HSPRITE WINAPI_HSPRITE + #define WIN32_LEAN_AND_MEAN + #include #include #undef HSPRITE