Collections of changes to facilitate compilation on Linux and macOS. (PR #992)

This commit is contained in:
Andrea
2021-10-18 20:23:46 +01:00
committed by GitHub
parent 9553106f4e
commit f2843d4d71
9 changed files with 19 additions and 7 deletions
+5
View File
@@ -27,7 +27,12 @@
/* #define WPCAP */
#ifdef _MSC_VER
#include "pcap.h"
#else
// on Linux and Mac OS X, we use system's pcap.h, which needs to be included as <>
#include <pcap.h>
#endif
#include <assert.h>
#include <stdio.h>