diff options
author | Kristof Provost <kp@FreeBSD.org> | 2021-12-22 13:04:17 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2021-12-22 13:06:50 -0300 |
commit | 7075bf819e7c5c63fe08db41a406d89a25dac7d3 (patch) | |
tree | 1e55dbfd2c88c30b0f8ae7c68536e515ace40f3e /net/libpcap/files/patch-pcap_bpf.h | |
parent | sysutils/zrepl: Include build version in command output (diff) |
net/libpcap: Fix build
Fix build issues since if_pflog.h added a net/bpf.h include
Obtained from: https://github.com/the-tcpdump-group/libpcap/pull/1074
Sponsored by: Rubicon Communications, LLC ("Netgate")
Diffstat (limited to 'net/libpcap/files/patch-pcap_bpf.h')
-rw-r--r-- | net/libpcap/files/patch-pcap_bpf.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net/libpcap/files/patch-pcap_bpf.h b/net/libpcap/files/patch-pcap_bpf.h new file mode 100644 index 000000000000..96679e5d5727 --- /dev/null +++ b/net/libpcap/files/patch-pcap_bpf.h @@ -0,0 +1,13 @@ +--- pcap/bpf.h.orig 2021-06-07 20:21:35 UTC ++++ pcap/bpf.h +@@ -78,6 +78,10 @@ + */ + #if !defined(_NET_BPF_H_) && !defined(_NET_BPF_H_INCLUDED) && !defined(_BPF_H_) && !defined(_H_BPF) && !defined(lib_pcap_bpf_h) + #define lib_pcap_bpf_h ++#define _NET_BPF_H_ ++#define _NET_BPF_H_INCLUDED ++#define _BPF_H_ ++#define _H_BPF + + #include <pcap/funcattrs.h> + |