aboutsummaryrefslogtreecommitdiff
path: root/sys/net/if_ethersubr.c
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2008-12-02 21:37:28 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2008-12-02 21:37:28 +0000
commit4b79449e2fb67cb37c4c9f46d31791893a39ddd8 (patch)
treee9bacc5bf23d71b60a706b2c5f58a92e6fb570cb /sys/net/if_ethersubr.c
parent8372089626dc6aee37d4f3a66c0f1a030bec912a (diff)
downloadsrc-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/net/if_ethersubr.c')
-rw-r--r--sys/net/if_ethersubr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c
index d790d9109a70..d26609cc1dc7 100644
--- a/sys/net/if_ethersubr.c
+++ b/sys/net/if_ethersubr.c
@@ -63,6 +63,7 @@
#include <net/if_bridgevar.h>
#include <net/if_vlan_var.h>
#include <net/pf_mtag.h>
+#include <net/vnet.h>
#if defined(INET) || defined(INET6)
#include <netinet/in.h>