ports/net/libpcap/files/patch-pcap_bpf.h
Kristof Provost 7075bf819e 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")
2021-12-22 13:06:50 -03:00

13 lines
352 B
C

--- 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>