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/ip_divert.c | |
parent | 8372089626dc6aee37d4f3a66c0f1a030bec912a (diff) | |
download | src-4b79449e2fb67cb37c4c9f46d31791893a39ddd8.tar.gz src-4b79449e2fb67cb37c4c9f46d31791893a39ddd8.zip |
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/ip_divert.c')
-rw-r--r-- | sys/netinet/ip_divert.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/ip_divert.c b/sys/netinet/ip_divert.c index b74f5db4e0b1..dc627a8df82d 100644 --- a/sys/netinet/ip_divert.c +++ b/sys/netinet/ip_divert.c @@ -74,6 +74,7 @@ __FBSDID("$FreeBSD$"); #include <netinet/ip_divert.h> #include <netinet/ip_var.h> #include <netinet/ip_fw.h> +#include <netinet/vinet.h> #include <security/mac/mac_framework.h> |