diff options
author | brooks <brooks@FreeBSD.org> | 2002-09-06 20:07:50 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2002-09-06 20:07:50 +0000 |
commit | 1da1f5abfe49f2044c62c9a12c5e45794e13061e (patch) | |
tree | 3501a2487d0725abaf95cb18d5454141da53a6e9 /sys | |
parent | 1ec96b6cd8977d3142ed0f2b51bcea9b0a890157 (diff) | |
download | FreeBSD-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.c | 4 |
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__ |