63f39a430a
This is something caught in UNH FreeBSD env.
For some reason [1], the pcap/bpf.h header started to define _BPF_H_.
It happens that the bpf_impl.h internal DPDK header uses this define as
an internal guard.
This triggers a build failure in bpf_convert.c which can't find
RTE_BPF_LOG macro.
Fix the include guard to use the filename and remove _.
1: https://github.com/the-tcpdump-group/libpcap/pull/1074
Fixes:
|
||
---|---|---|
.. | ||
bpf_convert.c | ||
bpf_def.h | ||
bpf_dump.c | ||
bpf_exec.c | ||
bpf_impl.h | ||
bpf_jit_arm64.c | ||
bpf_jit_x86.c | ||
bpf_load_elf.c | ||
bpf_load.c | ||
bpf_pkt.c | ||
bpf_stub.c | ||
bpf_validate.c | ||
bpf.c | ||
meson.build | ||
rte_bpf_ethdev.h | ||
rte_bpf.h | ||
version.map |