~alpine/aports

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

Corentin Henry <corentinhenry@gmail.com>
Details
Message ID
<1453204241-6685-5-git-send-email-corentinhenry@gmail.com>
Sender timestamp
1453204241
DKIM signature
missing
Download raw message
Patch: +37 -0
---
 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
@@ -0,0 +1,37 @@
From 73d4684bd0bbb1fbc82a290bcb742d76d0224647 Mon Sep 17 00:00:00 2001
From: Corentin Henry <corentinhenry@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
@@ -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
@@ -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@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)