mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Don't include "bpf.h" when compiling on FreeBSD. We always compile in
bpf support these days.
This commit is contained in:
parent
4db5660477
commit
6f9fe1334f
1 changed files with 4 additions and 0 deletions
|
|
@ -167,7 +167,11 @@
|
|||
#define vtophys(va) alpha_XXX_dmamap((vm_offset_t)(va))
|
||||
#endif
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#define NBPF 1
|
||||
#else
|
||||
#include "bpf.h"
|
||||
#endif
|
||||
#if NBPF > 0
|
||||
#include <net/bpf.h>
|
||||
#ifdef __FreeBSD__
|
||||
|
|
|
|||
Loading…
Reference in a new issue