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/nd6_rtr.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/nd6_rtr.c')
-rw-r--r-- | sys/netinet6/nd6_rtr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet6/nd6_rtr.c b/sys/netinet6/nd6_rtr.c index 200f1f4..5e52a85 100644 --- a/sys/netinet6/nd6_rtr.c +++ b/sys/netinet6/nd6_rtr.c @@ -53,6 +53,7 @@ __FBSDID("$FreeBSD$"); #include <net/if_dl.h> #include <net/route.h> #include <net/radix.h> +#include <net/vnet.h> #include <netinet/in.h> #include <netinet6/in6_var.h> @@ -62,6 +63,7 @@ __FBSDID("$FreeBSD$"); #include <netinet6/nd6.h> #include <netinet/icmp6.h> #include <netinet6/scope6_var.h> +#include <netinet6/vinet6.h> #define SDL(s) ((struct sockaddr_dl *)s) |