diff --git a/src/include/ndpi_win32.h b/src/include/ndpi_win32.h index 876e59c05..175ecd57d 100644 --- a/src/include/ndpi_win32.h +++ b/src/include/ndpi_win32.h @@ -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;