Update pcaplite.h
Apparently MacOS doesn't pass the "defined(unix)" check. This should work.
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
#define PCAPLITE_H
|
#define PCAPLITE_H
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#if defined(unix)
|
#if defined(unix) || defined __APPLE__
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#else
|
#else
|
||||||
#include <winsock.h>
|
#include <winsock.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user