Fix compilation with -Wundef (NBPF is undefined on FreeBSD >4).

This commit is contained in:
Ruslan Ermilov 2006-02-03 20:55:30 +00:00
parent b8435aa88d
commit bbe9814a5b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=155265

View File

@ -70,9 +70,12 @@ __FBSDID("$FreeBSD$");
# define PP_CISCO IFF_LINK2
# if __FreeBSD_version < 500000
# include <bpf.h>
# define NBPFILTER NBPF
# else
# include "opt_bpf.h"
# define NBPFILTER DEV_BPF
# endif
# include <net/bpf.h>
# define NBPFILTER NBPF
#endif
#include <dev/cx/machdep.h>
#include <dev/ce/ceddk.h>