Windows changes
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#ifndef WIN32
|
||||
#if !defined(WIN32) && !defined(_MSC_VER)
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#define __SIZEOF_LONG__ 4
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#ifndef WIN32
|
||||
#if !defined(WIN32) && !defined(_MSC_VER)
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include <string.h>
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@
|
||||
#include <stdlib.h> /* free, atol, calloc */
|
||||
#include <string.h> /* memcpy, strchr, strlen */
|
||||
#include <sys/types.h> /* BSD: for inet_addr */
|
||||
#ifndef WIN32
|
||||
#if !defined(WIN32) && !defined(_MSC_VER)
|
||||
#include <sys/socket.h> /* BSD, Linux: for inet_addr */
|
||||
#include <netinet/in.h> /* BSD, Linux: for inet_addr */
|
||||
#include <arpa/inet.h> /* BSD, Linux, Solaris: for inet_addr */
|
||||
|
||||
Vendored
+1
-1
@@ -35,7 +35,7 @@
|
||||
This file is used to implement the strptime API call that is missing on Windows
|
||||
*/
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) || defined(_MSC_VER)
|
||||
|
||||
#include "ndpi_main.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user