summaryrefslogtreecommitdiffstats
path: root/sys/net/pf_lb.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/net/pf_lb.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/net/pf_lb.c')
-rw-r--r--sys/net/pf_lb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/pf_lb.c b/sys/net/pf_lb.c
index 303ebc601fd..88252bb2cf3 100644
--- a/sys/net/pf_lb.c
+++ b/sys/net/pf_lb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_lb.c,v 1.25 2013/03/28 16:45:16 tedu Exp $ */
+/* $OpenBSD: pf_lb.c,v 1.26 2013/10/17 16:27:42 bluhm Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -87,6 +87,7 @@
#endif /* NPFSYNC > 0 */
#ifdef INET6
+#include <netinet6/in6_var.h>
#include <netinet/ip6.h>
#include <netinet/in_pcb.h>
#include <netinet/icmp6.h>