aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/net
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2019-08-22 09:24:43 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2019-08-22 09:24:43 +0000
commitc982e56f4b9dc10ec57f99fff1fa7def21d0c977 (patch)
treec0bfec2e377f2fa83e420036e56f9a641219be08 /sys/dev/usb/net
parentfada51254f06eb807512b766da4a172520570076 (diff)
downloadsrc-c982e56f4b9dc10ec57f99fff1fa7def21d0c977.tar.gz
src-c982e56f4b9dc10ec57f99fff1fa7def21d0c977.zip
usb: fix usb_fdt_support.c when altq enabled (usb_ehernet.h changes)
After r351243 when ALTQ was enabled in the kernel, the inline functions in ifq.h would not have full type information as if_var.h was not included. Given usb_ethernet.h already includes all the various headers (which) is the cause of the problem here, add if_var.h to it. This fixes the builds again. Reported by: CI system, e.g. FreeBSD-head-aarch64-LINT
Notes
Notes: svn path=/head/; revision=351388
Diffstat (limited to 'sys/dev/usb/net')
-rw-r--r--sys/dev/usb/net/usb_ethernet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/net/usb_ethernet.h b/sys/dev/usb/net/usb_ethernet.h
index 3f454c07f176..2cffac91b7f7 100644
--- a/sys/dev/usb/net/usb_ethernet.h
+++ b/sys/dev/usb/net/usb_ethernet.h
@@ -41,6 +41,7 @@
#include <sys/limits.h>
#include <net/if.h>
+#include <net/if_var.h>
#include <net/if_arp.h>
#include <net/if_dl.h>
#include <net/if_media.h>