diff options
Diffstat (limited to 'src/include/ndpi_win32.h')
-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; |