summaryrefslogtreecommitdiffstats
path: root/patches/hping3-20051105/remove_pcap_header.diff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/hping3-20051105/remove_pcap_header.diff')
-rw-r--r--patches/hping3-20051105/remove_pcap_header.diff23
1 files changed, 23 insertions, 0 deletions
diff --git a/patches/hping3-20051105/remove_pcap_header.diff b/patches/hping3-20051105/remove_pcap_header.diff
new file mode 100644
index 000000000..2a9e75735
--- /dev/null
+++ b/patches/hping3-20051105/remove_pcap_header.diff
@@ -0,0 +1,23 @@
+Subject: The <net/bpf.h> include file does not exist an more
+From: Juergen Beisert <jbe@pengutronix.de>
+
+The <net/bpf.h> include file does not exist an more. Simply removed.
+
+Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
+
+---
+ libpcap_stuff.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+Index: libpcap_stuff.c
+===================================================================
+--- libpcap_stuff.c.orig
++++ libpcap_stuff.c
+@@ -17,7 +17,6 @@
+ #include <stdlib.h>
+ #include <sys/ioctl.h>
+ #include <pcap.h>
+-#include <net/bpf.h>
+
+ #include "globals.h"
+