summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ipsec_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/netinet/ipsec_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/netinet/ipsec_input.c')
-rw-r--r--sys/netinet/ipsec_input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ipsec_input.c b/sys/netinet/ipsec_input.c
index f3ec0992fcd..3e99bc30653 100644
--- a/sys/netinet/ipsec_input.c
+++ b/sys/netinet/ipsec_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipsec_input.c,v 1.115 2013/06/01 16:29:00 bluhm Exp $ */
+/* $OpenBSD: ipsec_input.c,v 1.116 2013/10/17 16:27:44 bluhm Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -68,6 +68,7 @@
#ifndef INET
#include <netinet/in.h>
#endif
+#include <netinet6/in6_var.h>
#include <netinet/ip6.h>
#include <netinet6/ip6_var.h>
#include <netinet6/ip6protosw.h>