diff options
author | bluhm <bluhm@openbsd.org> | 2013-10-17 16:27:39 +0000 |
---|---|---|
committer | bluhm <bluhm@openbsd.org> | 2013-10-17 16:27:39 +0000 |
commit | dc5728648b28d91cc99d2d69701421acb75285aa (patch) | |
tree | 600cb1e0f3ff13e01aba5b7d1ab60f81cb69574a /usr.sbin/route6d | |
parent | remove capability to do a.out (diff) | |
download | wireguard-openbsd-dc5728648b28d91cc99d2d69701421acb75285aa.tar.xz wireguard-openbsd-dc5728648b28d91cc99d2d69701421acb75285aa.zip |
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 'usr.sbin/route6d')
-rw-r--r-- | usr.sbin/route6d/route6d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/route6d/route6d.c b/usr.sbin/route6d/route6d.c index 89a01625ddb..dcc47eb1171 100644 --- a/usr.sbin/route6d/route6d.c +++ b/usr.sbin/route6d/route6d.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route6d.c,v 1.58 2013/08/26 14:15:08 naddy Exp $ */ +/* $OpenBSD: route6d.c,v 1.59 2013/10/17 16:27:48 bluhm Exp $ */ /* $KAME: route6d.c,v 1.111 2006/10/25 06:38:13 jinmei Exp $ */ /* @@ -56,7 +56,7 @@ #include <net/if.h> #include <net/route.h> #include <netinet/in.h> -#include <netinet/in_var.h> +#include <netinet6/in6_var.h> #include <netinet/ip6.h> #include <netinet/udp.h> #include <netdb.h> |