From 6f9fe1334fd87c73a0ae5cd59214fd17451fd944 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Fri, 6 Sep 2002 20:07:50 +0000 Subject: [PATCH] Don't include "bpf.h" when compiling on FreeBSD. We always compile in bpf support these days. --- sys/dev/en/midway.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/dev/en/midway.c b/sys/dev/en/midway.c index adb10042047..147d3d91dfc 100644 --- a/sys/dev/en/midway.c +++ b/sys/dev/en/midway.c @@ -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 #ifdef __FreeBSD__