mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-24 07:06:36 +00:00
ip2net: fix build in mingw in *nix
This commit is contained in:
parent
a813570415
commit
04995b73de
@ -11,8 +11,10 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
#undef _WIN32_WINNT
|
||||||
|
#define _WIN32_WINNT 0x600
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#include <Ws2ipdef.h>
|
#include <ws2ipdef.h>
|
||||||
#include <ws2tcpip.h>
|
#include <ws2tcpip.h>
|
||||||
#else
|
#else
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user