summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorFrederic Cambus <fcambus@cvs.openbsd.org>2016-09-26 07:09:33 +0000
committerFrederic Cambus <fcambus@cvs.openbsd.org>2016-09-26 07:09:33 +0000
commit26a64c7739d207265de59ab2749332f6d66b8faa (patch)
treef1439c91b6e090729875c1273487c6547ed08257 /sys
parenta6c613e5dec9c2d2d35e9eadca7125506c1aa1b3 (diff)
Move the net/bpf.h include within the #if NBPFILTER directive
OK deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/if_cdce.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_cdce.c b/sys/dev/usb/if_cdce.c
index b093ae82a8f..eb3900a0cce 100644
--- a/sys/dev/usb/if_cdce.c
+++ b/sys/dev/usb/if_cdce.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_cdce.c,v 1.70 2016/04/13 11:03:37 mpi Exp $ */
+/* $OpenBSD: if_cdce.c,v 1.71 2016/09/26 07:09:32 fcambus Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000-2003 Bill Paul <wpaul@windriver.com>
@@ -52,8 +52,8 @@
#include <net/if.h>
-#include <net/bpf.h>
#if NBPFILTER > 0
+#include <net/bpf.h>
#endif
#include <netinet/in.h>