From 04995b73de252c5ba038033fbca55e3c8cd47d89 Mon Sep 17 00:00:00 2001 From: bol-van Date: Fri, 17 Jun 2022 14:37:12 +0300 Subject: [PATCH] ip2net: fix build in mingw in *nix --- ip2net/ip2net.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ip2net/ip2net.c b/ip2net/ip2net.c index d8d33ac..83bddc1 100644 --- a/ip2net/ip2net.c +++ b/ip2net/ip2net.c @@ -11,8 +11,10 @@ #include #include #ifdef _WIN32 +#undef _WIN32_WINNT +#define _WIN32_WINNT 0x600 #include -#include +#include #include #else #include