Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2019 09:24:43 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r351388 - head/sys/dev/usb/net
Message-ID:  <201908220924.x7M9Ohda003006@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908220924.x7M9Ohda003006>