Fix 'IPVERSION undeclared' error on WIN32

This commit is contained in:
Ruslan Sologub 2016-12-07 11:36:39 +02:00
parent ef69a1610a
commit 12a3d80f71

View file

@ -38,6 +38,8 @@
#define _WS2TCPIP_H_ /* Avoid compilation problems */
#define IPVERSION 4 /* on *nix it is defined in netinet/ip.h */
extern char* strsep(char **sp, const char *sep);
typedef unsigned char u_char;