diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2022-09-20 09:10:08 +0200 |
---|---|---|
committer | Toni <matzeton@googlemail.com> | 2022-09-21 18:03:22 +0200 |
commit | d6701e8979292834cd50abc78e8beafea7c7be8c (patch) | |
tree | 0d864e254c33443402747ea15347dac0ab95fb5e /src/include | |
parent | 3db6413ab08516d5c939611f254dbcff0c09bf5d (diff) |
Build ndpiReader and run regression tests.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Signed-off-by: lns <matzeton@googlemail.com>
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ndpi_win32.h | 7 |
1 files changed, 6 insertions, 1 deletions
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 <ws2tcpip.h> #include <process.h> #include <io.h> -#include <getopt.h> /* getopt from: http://www.pwilson.net/sample.html. */ #include <process.h> /* for getpid() and the exec..() family */ #include <stdint.h> #include <time.h> @@ -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; |