mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-30 05:50:53 +03: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 <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>
|
||||
|
Loading…
Reference in New Issue
Block a user