aboutsummaryrefslogtreecommitdiff
path: root/pcap-linux.c
diff options
context:
space:
mode:
authorBrent Cook <bcook@rapid7.com>2015-02-25 15:37:12 -0600
committerBrent Cook <bcook@rapid7.com>2015-02-25 15:37:12 -0600
commit1573a7360972ec845854f2b49ed3ce6b0c6aa1b5 (patch)
treedb8f58154b584ac42343ab029090e0336e7087c7 /pcap-linux.c
parent3fcb830b7609225b93fce206a3855004ce3b9ee2 (diff)
remove duplicate includes, align h1_64
Diffstat (limited to 'pcap-linux.c')
-rw-r--r--pcap-linux.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/pcap-linux.c b/pcap-linux.c
index 92247228..71f6c7d9 100644
--- a/pcap-linux.c
+++ b/pcap-linux.c
@@ -137,8 +137,6 @@
#include <net/if_arp.h>
#include <poll.h>
#include <dirent.h>
-#include <sys/stat.h>
-#include <sys/utsname.h>
#include "pcap-int.h"
#include "pcap/sll.h"
@@ -352,7 +350,7 @@ struct tpacket_hdr_64 {
union thdr {
struct tpacket_hdr *h1;
- struct tpacket_hdr_64 *h1_64;
+ struct tpacket_hdr_64 *h1_64;
#ifdef HAVE_TPACKET2
struct tpacket2_hdr *h2;
#endif