summaryrefslogtreecommitdiffstats
path: root/sys/net/pfkeyv2_parsemessage.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2017-07-14 16:50:41 +0000
committertedu <tedu@openbsd.org>2017-07-14 16:50:41 +0000
commit381992499f2e6d7289425372fe8f1a900cf01b8d (patch)
tree26c5f8f959f89f8b34485201f6820056cc35b7a9 /sys/net/pfkeyv2_parsemessage.c
parentExplicitly initialize a variable where the compiler is (understandably) (diff)
downloadwireguard-openbsd-381992499f2e6d7289425372fe8f1a900cf01b8d.tar.xz
wireguard-openbsd-381992499f2e6d7289425372fe8f1a900cf01b8d.zip
kernels don't build without MROUTING because ip_var.h only sometimes
introduces a forward decl for socket. turns out the affected file doesn't need ip_var.h, so remove it. then move the decl to the bottom to prevent the problem from recurring. bug report by Nick Briggs ok mpi
Diffstat (limited to 'sys/net/pfkeyv2_parsemessage.c')
-rw-r--r--sys/net/pfkeyv2_parsemessage.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/pfkeyv2_parsemessage.c b/sys/net/pfkeyv2_parsemessage.c
index 9b04b37de9d..30aef0b2920 100644
--- a/sys/net/pfkeyv2_parsemessage.c
+++ b/sys/net/pfkeyv2_parsemessage.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkeyv2_parsemessage.c,v 1.52 2017/06/26 09:17:55 patrick Exp $ */
+/* $OpenBSD: pfkeyv2_parsemessage.c,v 1.53 2017/07/14 16:50:41 tedu Exp $ */
/*
* @(#)COPYRIGHT 1.1 (NRL) 17 January 1995
@@ -76,7 +76,6 @@
#include <sys/mbuf.h>
#include <sys/proc.h>
#include <netinet/ip_ipsp.h>
-#include <netinet/ip_var.h>
#include <net/pfkeyv2.h>
#if NPF > 0