summaryrefslogtreecommitdiffstats
path: root/sys/net/if_gre.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2008-12-02 21:37:28 +0000
committerbz <bz@FreeBSD.org>2008-12-02 21:37:28 +0000
commit604d89458ab94ec81eaefa2d55ef219cba461e31 (patch)
treee9bacc5bf23d71b60a706b2c5f58a92e6fb570cb /sys/net/if_gre.c
parent94db7634b6344ba280905cbac5c04f1f92b41457 (diff)
downloadFreeBSD-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_gre.c')
-rw-r--r--sys/net/if_gre.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/if_gre.c b/sys/net/if_gre.c
index 6b5e739..cfd249f 100644
--- a/sys/net/if_gre.c
+++ b/sys/net/if_gre.c
@@ -79,6 +79,7 @@
#include <netinet/ip_gre.h>
#include <netinet/ip_var.h>
#include <netinet/ip_encap.h>
+#include <netinet/vinet.h>
#else
#error "Huh? if_gre without inet?"
#endif
OpenPOWER on IntegriCloud