svn commit: r272261 - head/sys/net
Bjoern A. Zeeb
bz at FreeBSD.org
Sun Sep 28 17:09:41 UTC 2014
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_ */
More information about the svn-src-head
mailing list