diff options
Diffstat (limited to 'net/hping3/patches/patch-libpcap__stuff.c')
-rw-r--r-- | net/hping3/patches/patch-libpcap__stuff.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net/hping3/patches/patch-libpcap__stuff.c b/net/hping3/patches/patch-libpcap__stuff.c new file mode 100644 index 00000000000..a08f4dd362b --- /dev/null +++ b/net/hping3/patches/patch-libpcap__stuff.c @@ -0,0 +1,16 @@ +$NetBSD: patch-libpcap__stuff.c,v 1.1.2.2 2017/06/21 18:20:04 bsiegert Exp $ + +Fix include ordering to avoid redefined bpf_* symbols. + +--- libpcap_stuff.c.orig 2004-04-09 23:38:56.000000000 +0000 ++++ libpcap_stuff.c +@@ -16,8 +16,8 @@ + #include <string.h> + #include <stdlib.h> + #include <sys/ioctl.h> +-#include <pcap.h> + #include <net/bpf.h> ++#include <pcap.h> + + #include "globals.h" + |