From d6701e8979292834cd50abc78e8beafea7c7be8c Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Tue, 20 Sep 2022 09:10:08 +0200 Subject: Build ndpiReader and run regression tests. Signed-off-by: Toni Uhlig Signed-off-by: lns Signed-off-by: Toni Uhlig --- src/include/ndpi_win32.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/ndpi_win32.h b/src/include/ndpi_win32.h index 3183b5d81..721ba48a4 100644 --- a/src/include/ndpi_win32.h +++ b/src/include/ndpi_win32.h @@ -38,7 +38,6 @@ #include #include #include -#include /* getopt from: http://www.pwilson.net/sample.html. */ #include /* for getpid() and the exec..() family */ #include #include @@ -54,6 +53,12 @@ #define gettimeofday mingw_gettimeofday #endif +#ifdef _MSC_BUILD +#define strncasecmp _strnicmp +#define strcasecmp _stricmp +#define strdup _strdup +#endif + extern char* strsep(char **sp, char *sep); typedef unsigned char u_char; -- cgit v1.2.3