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
|
||||
|
||||
#include <stdio.h>
|
||||
#if defined(unix)
|
||||
#if defined(unix) || defined __APPLE__
|
||||
#include <sys/time.h>
|
||||
#else
|
||||
#include <winsock.h>
|
||||
|
||||
Reference in New Issue
Block a user