summaryrefslogtreecommitdiffstats
path: root/sys/net/if_var.h
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2014-09-28 17:09:40 +0000
committerbz <bz@FreeBSD.org>2014-09-28 17:09:40 +0000
commitaab771d81275210e947cce80bbc0529e88b67337 (patch)
tree4fb5925ce378898efb6d62d53b4b67e0c4b46a79 /sys/net/if_var.h
parentabef5517f61b4c28f08297f979ccc4c027b726b9 (diff)
downloadFreeBSD-src-aab771d81275210e947cce80bbc0529e88b67337.zip
FreeBSD-src-aab771d81275210e947cce80bbc0529e88b67337.tar.gz
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.
Diffstat (limited to 'sys/net/if_var.h')
-rw-r--r--sys/net/if_var.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h
index e0540c8..f043717 100644
--- a/sys/net/if_var.h
+++ b/sys/net/if_var.h
@@ -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_ */
OpenPOWER on IntegriCloud