summaryrefslogtreecommitdiff
path: root/network/hping3/patches/libpcap0.8.diff
blob: 97e9178cfd8421e7a0be0eae43213c00da632a22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Various fixes for libpcap0.8 compilation.

--- hping3-3.a2.ds1.orig/libpcap_stuff.c
+++ hping3-3.a2.ds1/libpcap_stuff.c
@@ -17,7 +17,6 @@
 #include <stdlib.h>
 #include <sys/ioctl.h>
 #include <pcap.h>
-#include <net/bpf.h>
 
 #include "globals.h"
 
--- hping3-3.a2.ds1.orig/script.c
+++ hping3-3.a2.ds1/script.c
@@ -24,7 +24,6 @@
 
 #include <sys/ioctl.h>
 #include <pcap.h>
-#include <net/bpf.h>
 
 #include "release.h"
 #include "hping2.h"