summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_var.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-08-15 14:34:02 +0000
committerrwatson <rwatson@FreeBSD.org>2002-08-15 14:34:02 +0000
commit9b4d2c89ad6915cdc48401d12fef335b6cf92e2f (patch)
tree87d55d04943610b881b088d70a2b285974ebf56c /sys/netinet/ip_var.h
parent3df0baf6ac00db646eb681899f59585ab5cf56c0 (diff)
downloadFreeBSD-src-9b4d2c89ad6915cdc48401d12fef335b6cf92e2f.zip
FreeBSD-src-9b4d2c89ad6915cdc48401d12fef335b6cf92e2f.tar.gz
Perform a nested include of _label.h if #ifdef _KERNEL. This will
satisfy consumers of ip_var.h that need a complete definition of struct ipq and don't include mac.h. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'sys/netinet/ip_var.h')
-rw-r--r--sys/netinet/ip_var.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h
index 4efb589..e1f8465 100644
--- a/sys/netinet/ip_var.h
+++ b/sys/netinet/ip_var.h
@@ -39,6 +39,10 @@
#include <sys/queue.h>
+#ifdef _KERNEL
+#include <sys/_label.h>
+#endif
+
/*
* Overlay for ip header used by other protocols (tcp, udp).
*/
OpenPOWER on IntegriCloud