Mail archive
alpine-aports

[alpine-aports] [PATCH 4/4] testing/hping: remove <net/bpf.h> include

From: Corentin Henry <corentinhenry_at_gmail.com>
Date: Tue, 19 Jan 2016 11:50:41 +0000

---
 testing/hping/30-fix_bpf_include.patch | 37 ++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 testing/hping/30-fix_bpf_include.patch
diff --git a/testing/hping/30-fix_bpf_include.patch b/testing/hping/30-fix_bpf_include.patch
new file mode 100644
index 0000000..c74ff79
--- /dev/null
+++ b/testing/hping/30-fix_bpf_include.patch
_at_@ -0,0 +1,37 @@
+From 73d4684bd0bbb1fbc82a290bcb742d76d0224647 Mon Sep 17 00:00:00 2001
+From: Corentin Henry <corentinhenry_at_gmail.com>
+Date: Mon, 11 Jan 2016 15:07:30 +0000
+Subject: [PATCH] fix bpf include
+
+---
+ libpcap_stuff.c | 1 -
+ script.c        | 1 -
+ 2 files changed, 2 deletions(-)
+
+diff --git a/libpcap_stuff.c b/libpcap_stuff.c
+index 26f9993..07ea1e6 100644
+--- a/libpcap_stuff.c
++++ b/libpcap_stuff.c
+_at_@ -16,7 +16,6 @@
+ #include <string.h>
+ #include <stdlib.h>
+ #include <sys/ioctl.h>
+-#include <net/bpf.h>
+ #include <pcap.h>
+ 
+ #include "globals.h"
+diff --git a/script.c b/script.c
+index 124370c..b2a328b 100644
+--- a/script.c
++++ b/script.c
+_at_@ -23,7 +23,6 @@
+ #include <sched.h>
+ 
+ #include <sys/ioctl.h>
+-#include <net/bpf.h>
+ #include <pcap.h>
+ 
+ #include "release.h"
+-- 
+2.7.0
+
-- 
2.7.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Jan 19 2016 - 11:50:41 GMT