From 9ba20c3119826bd3c081a83f174e6012174470e9 Mon Sep 17 00:00:00 2001 From: Jonathan Lemon Date: Sun, 26 Nov 2000 21:47:01 +0000 Subject: [PATCH] Unbreak world; #include instead of Only include when building kernel sources. This should probably be changed to require callers to include it themselves. --- sys/net/if_var.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 43e580f5110d..1c932c2b5766 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -75,8 +75,10 @@ struct ether_header; #include /* get TAILQ macros */ +#ifdef _KERNEL #include -#include +#endif /* _KERNEL */ +#include TAILQ_HEAD(ifnethead, ifnet); /* we use TAILQs so that the order of */ TAILQ_HEAD(ifaddrhead, ifaddr); /* instantiation is preserved in the list */