mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 15:51:51 -04:00
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")
13 lines
352 B
C
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>
|
|
|