diff options
author | 2017-07-14 16:50:41 +0000 | |
---|---|---|
committer | 2017-07-14 16:50:41 +0000 | |
commit | 381992499f2e6d7289425372fe8f1a900cf01b8d (patch) | |
tree | 26c5f8f959f89f8b34485201f6820056cc35b7a9 /sys/net/pfkeyv2_parsemessage.c | |
parent | Explicitly initialize a variable where the compiler is (understandably) (diff) | |
download | wireguard-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.c | 3 |
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 |