Browse Source

ip2net: fix build in mingw in *nix

pull/127/head
bol-van 3 years ago
parent
commit
04995b73de
  1. 4
      ip2net/ip2net.c

4
ip2net/ip2net.c

@ -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…
Cancel
Save