summaryrefslogtreecommitdiffstats
path: root/sys/dev/lmc/if_lmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/lmc/if_lmc.c')
-rw-r--r--sys/dev/lmc/if_lmc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/lmc/if_lmc.c b/sys/dev/lmc/if_lmc.c
index cf030c7..b9076e8 100644
--- a/sys/dev/lmc/if_lmc.c
+++ b/sys/dev/lmc/if_lmc.c
@@ -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>
OpenPOWER on IntegriCloud