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/net/if_bridge.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/net/if_bridge.c')
-rw-r--r-- | sys/net/if_bridge.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c index 0a53265..8f07e6c 100644 --- a/sys/net/if_bridge.c +++ b/sys/net/if_bridge.c @@ -115,9 +115,11 @@ __FBSDID("$FreeBSD$"); #include <netinet/in_var.h> #include <netinet/ip.h> #include <netinet/ip_var.h> +#include <netinet/vinet.h> #ifdef INET6 #include <netinet/ip6.h> #include <netinet6/ip6_var.h> +#include <netinet6/vinet6.h> #endif #ifdef DEV_CARP #include <netinet/ip_carp.h> |