diff options
author | 2013-10-17 16:27:39 +0000 | |
---|---|---|
committer | 2013-10-17 16:27:39 +0000 | |
commit | dc5728648b28d91cc99d2d69701421acb75285aa (patch) | |
tree | 600cb1e0f3ff13e01aba5b7d1ab60f81cb69574a /sys/netmpls/mpls_input.c | |
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 'sys/netmpls/mpls_input.c')
-rw-r--r-- | sys/netmpls/mpls_input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netmpls/mpls_input.c b/sys/netmpls/mpls_input.c index 9ed1f96baaa..1dd52c0afa6 100644 --- a/sys/netmpls/mpls_input.c +++ b/sys/netmpls/mpls_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpls_input.c,v 1.35 2013/07/10 07:30:39 mpi Exp $ */ +/* $OpenBSD: mpls_input.c,v 1.36 2013/10/17 16:27:47 bluhm Exp $ */ /* * Copyright (c) 2008 Claudio Jeker <claudio@openbsd.org> @@ -38,6 +38,7 @@ #endif #ifdef INET6 +#include <netinet6/in6_var.h> #include <netinet/ip6.h> #ifndef INET #include <netinet/in.h> |