Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Sep 2014 17:09:40 +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: r272261 - head/sys/net
Message-ID:  <201409281709.s8SH9e0Y047460@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Sun Sep 28 17:09:40 2014
New Revision: 272261
URL: http://svnweb.freebsd.org/changeset/base/272261

Log:
  Move the unconditional #include of net/ifq.h to the very end of file.
  This seems to allow us to pass a universe with either clang or gcc
  after r272244 (and r272260) and probably makes it easier to untabgle
  these chained #includes in the future.

Modified:
  head/sys/net/if_var.h

Modified: head/sys/net/if_var.h
==============================================================================
--- head/sys/net/if_var.h	Sun Sep 28 15:38:21 2014	(r272260)
+++ head/sys/net/if_var.h	Sun Sep 28 17:09:40 2014	(r272261)
@@ -249,8 +249,6 @@ struct ifnet {
 	 */
 };
 
-#include <net/ifq.h>	/* XXXAO: temporary unconditional include */
-
 /* for compatibility with other BSDs */
 #define	if_addrlist	if_addrhead
 #define	if_list		if_link
@@ -608,4 +606,7 @@ int    ether_poll_deregister(if_t ifp);
 #endif /* DEVICE_POLLING */
 
 #endif /* _KERNEL */
+
+#include <net/ifq.h>	/* XXXAO: temporary unconditional include */
+
 #endif /* !_NET_IF_VAR_H_ */



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