diff options
author | 2015-10-13 20:00:49 +0000 | |
---|---|---|
committer | 2015-10-13 20:00:49 +0000 | |
commit | 70325c084df0835d24c281cd6ca4c7ff647a8979 (patch) | |
tree | dc04ff6220d6b9e41cb2055104432efc61fbfcf1 | |
parent | - pf_insert_src_node(): global argument (arg6) is useless, function (diff) | |
download | wireguard-openbsd-70325c084df0835d24c281cd6ca4c7ff647a8979.tar.xz wireguard-openbsd-70325c084df0835d24c281cd6ca4c7ff647a8979.zip |
3 more headers required for one stinking inet6 ioctl..
-rw-r--r-- | sys/kern/kern_pledge.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c index 7d1b8d22674..a65899277b5 100644 --- a/sys/kern/kern_pledge.c +++ b/sys/kern/kern_pledge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_pledge.c,v 1.21 2015/10/13 18:42:06 deraadt Exp $ */ +/* $OpenBSD: kern_pledge.c,v 1.22 2015/10/13 20:00:49 deraadt Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org> @@ -36,7 +36,10 @@ #include <net/bpf.h> #include <net/route.h> #include <net/if.h> +#include <net/if_var.h> #include <netinet/in.h> +#include <netinet6/in6_var.h> +#include <netinet6/nd6.h> #include <netinet/tcp.h> #include <sys/signal.h> |