diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2008-12-02 21:37:28 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2008-12-02 21:37:28 +0000 |
commit | 4b79449e2fb67cb37c4c9f46d31791893a39ddd8 (patch) | |
tree | e9bacc5bf23d71b60a706b2c5f58a92e6fb570cb /sys/netinet/tcp_input.c | |
parent | 8372089626dc6aee37d4f3a66c0f1a030bec912a (diff) |
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
Notes
Notes:
svn path=/head/; revision=185571
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r-- | sys/netinet/tcp_input.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 7b292d27308b..18a1bab64431 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -87,6 +87,11 @@ __FBSDID("$FreeBSD$"); #ifdef TCPDEBUG #include <netinet/tcp_debug.h> #endif /* TCPDEBUG */ +#include <netinet/vinet.h> + +#ifdef INET6 +#include <netinet6/vinet6.h> +#endif #ifdef IPSEC #include <netipsec/ipsec.h> |