summaryrefslogtreecommitdiffstats
path: root/sys/netmpls/mpls_input.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2013-10-17 16:27:39 +0000
committerbluhm <bluhm@openbsd.org>2013-10-17 16:27:39 +0000
commitdc5728648b28d91cc99d2d69701421acb75285aa (patch)
tree600cb1e0f3ff13e01aba5b7d1ab60f81cb69574a /sys/netmpls/mpls_input.c
parentremove capability to do a.out (diff)
downloadwireguard-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.c3
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>