ip2net: fix build in mingw in *nix

This commit is contained in:
bol-van 2022-06-17 14:37:12 +03:00
parent a813570415
commit 04995b73de

View File

@ -11,8 +11,10 @@
#include <stdint.h>
#include <string.h>
#ifdef _WIN32
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x600
#include <winsock2.h>
#include <Ws2ipdef.h>
#include <ws2ipdef.h>
#include <ws2tcpip.h>
#else
#include <arpa/inet.h>