lmc(4): fix the build without the bpf device

"make buildkernel" now works with and without "device bpf".

Reported by:	Dave Mischler <dave@mischler.com>
MFC after:	3 days
Sponsored by:	Dell EMC
This commit is contained in:
Eric van Gyzen 2016-10-01 22:21:10 +00:00
parent dda41f2078
commit fb6ddd454a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=306567

View file

@ -91,7 +91,11 @@
# define P2P 0 /* not in FreeBSD */
# define NSPPP 1 /* No count devices in FreeBSD 5 */
# include "opt_bpf.h" /* DEV_BPF */
# define NBPFILTER DEV_BPF
# ifdef DEV_BPF
# define NBPFILTER 1
# else
# define NBPFILTER 0
# endif
# define GEN_HDLC 0 /* not in FreeBSD */
#
# include <sys/systm.h>