summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfcambus <fcambus@openbsd.org>2016-09-26 07:09:32 +0000
committerfcambus <fcambus@openbsd.org>2016-09-26 07:09:32 +0000
commitba0dab33d9eeceda0d487fe33785bd87e493022b (patch)
treeb5c2bc0bd527e5a49c7103921a2e77926085648e
parentAdd /etc/acme-client.conf to mtree/special and changelist. (diff)
downloadwireguard-openbsd-ba0dab33d9eeceda0d487fe33785bd87e493022b.tar.xz
wireguard-openbsd-ba0dab33d9eeceda0d487fe33785bd87e493022b.zip
Move the net/bpf.h include within the #if NBPFILTER directive
OK deraadt@
-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>