summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pgen_pcap.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pgen_pcap.cc b/src/pgen_pcap.cc
index cb6e475..ff17c43 100644
--- a/src/pgen_pcap.cc
+++ b/src/pgen_pcap.cc
@@ -6,12 +6,16 @@
#include "pgen.h"
#include "compression.h"
+#include <dirent.h>
+#include <signal.h>
+#include <unistd.h>
#include <pcap/pcap.h>
+
+#define __FAVOR_BSD 1
#include <netinet/in.h>
#include <netinet/if_ether.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>
-#include <dirent.h>
#define NUM_FLOWS 1000
#define NUM_LISTS 1000