summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2013-10-17 16:27:49 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2013-10-17 16:27:49 +0000
commit4c21639c51c629b427368502715b24ec7c8f5f9c (patch)
tree667b086eadf697720eec510843e77cc3ae1385c4 /sys/netinet6/in6.c
parentfb38f42fffc5b98edc293952e219e8d0a38b6169 (diff)
The header file netinet/in_var.h included netinet6/in6_var.h. This
created a bunch of useless dependencies. Remove this implicit inclusion and do an explicit #include <netinet6/in6_var.h> when it is needed. OK mpi@ henning@
Diffstat (limited to 'sys/netinet6/in6.c')
-rw-r--r--sys/netinet6/in6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c
index 0ec503635e1..f59bf0ccbcc 100644
--- a/sys/netinet6/in6.c
+++ b/sys/netinet6/in6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6.c,v 1.119 2013/10/01 08:25:35 mpi Exp $ */
+/* $OpenBSD: in6.c,v 1.120 2013/10/17 16:27:45 bluhm Exp $ */
/* $KAME: in6.c,v 1.372 2004/06/14 08:14:21 itojun Exp $ */
/*
@@ -82,12 +82,12 @@
#include <net/if_dl.h>
#include <netinet/in.h>
-#include <netinet/in_var.h>
#include <netinet/if_ether.h>
#if NBRIDGE > 0
#include <net/if_bridge.h>
#endif
+#include <netinet6/in6_var.h>
#include <netinet/ip6.h>
#include <netinet6/ip6_var.h>
#include <netinet6/nd6.h>