summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <bcook@rapid7.com>2015-02-25 15:37:12 -0600
committerGuy Harris <guy@alum.mit.edu>2015-02-26 21:19:59 -0800
commit68009ac3d7f160549f6c5baa23bb248be871cdc7 (patch)
treea1fc6548c9edad52ef634e619dc1ce029e03898d
parenta2752635da700c7c26012b75b1e851e5b068cc47 (diff)
downloadlibpcap-68009ac3d7f160549f6c5baa23bb248be871cdc7.tar.gz
remove duplicate includes, align h1_64
-rw-r--r--pcap-linux.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/pcap-linux.c b/pcap-linux.c
index 5c4eca25..f251649d 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"
@@ -350,7 +348,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