summaryrefslogtreecommitdiff
path: root/sys/net/if_pfsync.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2013-10-17 16:27:49 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2013-10-17 16:27:49 +0000
commit4c21639c51c629b427368502715b24ec7c8f5f9c (patch)
tree667b086eadf697720eec510843e77cc3ae1385c4 /sys/net/if_pfsync.c
parentfb38f42fffc5b98edc293952e219e8d0a38b6169 (diff)
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/if_pfsync.c')
-rw-r--r--sys/net/if_pfsync.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_pfsync.c b/sys/net/if_pfsync.c
index 2c965023fd4..d677f9d2e0b 100644
--- a/sys/net/if_pfsync.c
+++ b/sys/net/if_pfsync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pfsync.c,v 1.201 2013/08/07 05:39:05 dlg Exp $ */
+/* $OpenBSD: if_pfsync.c,v 1.202 2013/10/17 16:27:41 bluhm Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff
@@ -73,6 +73,7 @@
#endif
#ifdef INET6
+#include <netinet6/in6_var.h>
#include <netinet/ip6.h>
#include <netinet/in_pcb.h>
#include <netinet/icmp6.h>