aboutsummaryrefslogtreecommitdiff
path: root/pcap-linux.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-09-12 20:40:16 -0700
committerGuy Harris <guy@alum.mit.edu>2018-09-12 20:40:16 -0700
commit70da4d94fdc474e062a665a1b371af02e0d4699c (patch)
tree9f1865a786bda259229accbef17214c75534ec6f /pcap-linux.c
parent10d7a3c17283fb3f97753a3f291468af774e871f (diff)
We need diag-control.h to get DIAG_{OFF,ON}_NARROWING.
Diffstat (limited to 'pcap-linux.c')
-rw-r--r--pcap-linux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pcap-linux.c b/pcap-linux.c
index 4e4a5494..713a52ce 100644
--- a/pcap-linux.c
+++ b/pcap-linux.c
@@ -142,6 +142,8 @@
#include "pcap/sll.h"
#include "pcap/vlan.h"
+#include "diag-control/h"
+
/*
* If PF_PACKET is defined, we can use {SOCK_RAW,SOCK_DGRAM}/PF_PACKET
* sockets rather than SOCK_PACKET sockets.