Hi tech@,

Move the net/bpf.h include within the #if NBPFILTER directive.

Index: sys/dev/usb/if_cdce.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/if_cdce.c,v
retrieving revision 1.70
diff -u -p -r1.70 if_cdce.c
--- sys/dev/usb/if_cdce.c       13 Apr 2016 11:03:37 -0000      1.70
+++ sys/dev/usb/if_cdce.c       25 Sep 2016 19:46:43 -0000
@@ -52,8 +52,8 @@
 
 #include <net/if.h>
 
-#include <net/bpf.h>
 #if NBPFILTER > 0
+#include <net/bpf.h>
 #endif
 
 #include <netinet/in.h>

Reply via email to