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_ */
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to