diff options
author | bz <bz@FreeBSD.org> | 2008-12-02 21:37:28 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2008-12-02 21:37:28 +0000 |
commit | 604d89458ab94ec81eaefa2d55ef219cba461e31 (patch) | |
tree | e9bacc5bf23d71b60a706b2c5f58a92e6fb570cb /sys/netinet6/icmp6.c | |
parent | 94db7634b6344ba280905cbac5c04f1f92b41457 (diff) | |
download | FreeBSD-src-604d89458ab94ec81eaefa2d55ef219cba461e31.zip FreeBSD-src-604d89458ab94ec81eaefa2d55ef219cba461e31.tar.gz |
Rather than using hidden includes (with cicular dependencies),
directly include only the header files needed. This reduces the
unneeded spamming of various headers into lots of files.
For now, this leaves us with very few modules including vnet.h
and thus needing to depend on opt_route.h.
Reviewed by: brooks, gnn, des, zec, imp
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/netinet6/icmp6.c')
-rw-r--r-- | sys/netinet6/icmp6.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c index 4424481..59bc95a 100644 --- a/sys/netinet6/icmp6.c +++ b/sys/netinet6/icmp6.c @@ -87,6 +87,7 @@ __FBSDID("$FreeBSD$"); #include <net/if_dl.h> #include <net/if_types.h> #include <net/route.h> +#include <net/vnet.h> #include <netinet/in.h> #include <netinet/in_pcb.h> @@ -94,6 +95,8 @@ __FBSDID("$FreeBSD$"); #include <netinet/ip6.h> #include <netinet/icmp6.h> #include <netinet/tcp_var.h> +#include <netinet/vinet.h> + #include <netinet6/in6_ifattach.h> #include <netinet6/in6_pcb.h> #include <netinet6/ip6protosw.h> @@ -101,6 +104,7 @@ __FBSDID("$FreeBSD$"); #include <netinet6/scope6_var.h> #include <netinet6/mld6_var.h> #include <netinet6/nd6.h> +#include <netinet6/vinet6.h> #ifdef IPSEC #include <netipsec/ipsec.h> |