diff options
author | 2018-10-29 00:11:37 +0000 | |
---|---|---|
committer | 2018-10-29 00:11:37 +0000 | |
commit | b077271d2cc58463111b77200db66fec855f956e (patch) | |
tree | 53cac641c99647bdf875b60d08929cabe1b0a1cb | |
parent | Correctly deal with upper level unveil's by keeping track of the covering (diff) | |
download | wireguard-openbsd-b077271d2cc58463111b77200db66fec855f956e.tar.xz wireguard-openbsd-b077271d2cc58463111b77200db66fec855f956e.zip |
needs sys/lock.h
-rw-r--r-- | sys/kern/kern_unveil.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_unveil.c b/sys/kern/kern_unveil.c index 1ddf12724d6..6d193a80779 100644 --- a/sys/kern/kern_unveil.c +++ b/sys/kern/kern_unveil.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_unveil.c,v 1.16 2018/10/28 22:42:33 beck Exp $ */ +/* $OpenBSD: kern_unveil.c,v 1.17 2018/10/29 00:11:37 deraadt Exp $ */ /* * Copyright (c) 2017-2018 Bob Beck <beck@openbsd.org> @@ -27,6 +27,7 @@ #include <sys/types.h> #include <sys/malloc.h> #include <sys/tree.h> +#include <sys/lock.h> #include <sys/conf.h> #include <sys/syscall.h> |