aboutsummaryrefslogtreecommitdiff
path: root/net/hping3/patches/020_pcap_bpf.patch
blob: a5b0dec8327a0407625032061c04b0fd70de7e62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/libpcap_stuff.c
+++ b/libpcap_stuff.c
@@ -16,7 +16,7 @@
 #include <string.h>
 #include <stdlib.h>
 #include <sys/ioctl.h>
-#include <net/bpf.h>
+#include <pcap-bpf.h>
 #include <pcap.h>
 
 #include "globals.h"
--- a/script.c
+++ b/script.c
@@ -23,7 +23,7 @@
 #include <sched.h>
 
 #include <sys/ioctl.h>
-#include <net/bpf.h>
+#include <pcap-bpf.h>
 #include <pcap.h>
 
 #include "release.h"