summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2002-09-06 20:07:50 +0000
committerbrooks <brooks@FreeBSD.org>2002-09-06 20:07:50 +0000
commit1da1f5abfe49f2044c62c9a12c5e45794e13061e (patch)
tree3501a2487d0725abaf95cb18d5454141da53a6e9 /sys
parent1ec96b6cd8977d3142ed0f2b51bcea9b0a890157 (diff)
downloadFreeBSD-src-1da1f5abfe49f2044c62c9a12c5e45794e13061e.zip
FreeBSD-src-1da1f5abfe49f2044c62c9a12c5e45794e13061e.tar.gz
Don't include "bpf.h" when compiling on FreeBSD. We always compile in
bpf support these days.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/en/midway.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/en/midway.c b/sys/dev/en/midway.c
index adb1004..147d3d9 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 <net/bpf.h>
#ifdef __FreeBSD__
OpenPOWER on IntegriCloud