Fix 'IPVERSION undeclared' error on WIN32
This commit is contained in:
@@ -38,6 +38,8 @@
|
|||||||
|
|
||||||
#define _WS2TCPIP_H_ /* Avoid compilation problems */
|
#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);
|
extern char* strsep(char **sp, const char *sep);
|
||||||
|
|
||||||
typedef unsigned char u_char;
|
typedef unsigned char u_char;
|
||||||
|
|||||||
Reference in New Issue
Block a user