summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <tb@cvs.openbsd.org>2015-12-27 16:36:08 +0000
committertb <tb@cvs.openbsd.org>2015-12-27 16:36:08 +0000
commit4c20087fc1b4bbbb8729e12305fc7b6c5a799352 (patch)
treea1446ccf5681e7cc40b9633ab4165901b1bcedab
parent9744e9f4fdf1a6fa59675db672575b77808de32e (diff)
Add missing #include "audio.h". Fixes sndiod pledge issue reported by
timo.myyra () wickedbsd ! net, thanks! While there, remove extraneous "pty.h". ok deraadt@
-rw-r--r--sys/kern/kern_pledge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c
index 8a3fcee83ac..1c0d7af4a9c 100644
--- a/sys/kern/kern_pledge.c
+++ b/sys/kern/kern_pledge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_pledge.c,v 1.139 2015/12/27 01:37:46 deraadt Exp $ */
+/* $OpenBSD: kern_pledge.c,v 1.140 2015/12/27 16:36:07 tb Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@ -64,7 +64,7 @@
#define PLEDGENAMES
#include <sys/pledge.h>
-#include "pty.h"
+#include "audio.h"
#include "pty.h"
int pledgereq_flags(const char *req);