Update pcaplite.h

Apparently MacOS doesn't pass the "defined(unix)" check. This should work.
This commit is contained in:
Collin Kidder
2022-02-06 19:51:08 -05:00
committed by GitHub
parent c86b7414cd
commit 371fb7d87b
+1 -1
View File
@@ -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>