svn commit: r351388 - head/sys/dev/usb/net

Bjoern A. Zeeb bz at FreeBSD.org
Thu Aug 22 09:24:44 UTC 2019


Author: bz
Date: Thu Aug 22 09:24:43 2019
New Revision: 351388
URL: https://svnweb.freebsd.org/changeset/base/351388

Log:
  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

Modified:
  head/sys/dev/usb/net/usb_ethernet.h

Modified: head/sys/dev/usb/net/usb_ethernet.h
==============================================================================
--- head/sys/dev/usb/net/usb_ethernet.h	Thu Aug 22 08:49:21 2019	(r351387)
+++ head/sys/dev/usb/net/usb_ethernet.h	Thu Aug 22 09:24:43 2019	(r351388)
@@ -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>


More information about the svn-src-head mailing list