summaryrefslogtreecommitdiff
path: root/regress/sys/kern/sigsuspend
diff options
context:
space:
mode:
authorPeter Hessler <phessler@cvs.openbsd.org>2010-06-20 17:57:10 +0000
committerPeter Hessler <phessler@cvs.openbsd.org>2010-06-20 17:57:10 +0000
commit0c810681cef1a35d4919e45f36e45116454f92d6 (patch)
treef0a272931c83f6a7dd9a6dbe09cfbba4f49dfdab /regress/sys/kern/sigsuspend
parent2246f68b3276b17053023c83d282183284cf33ea (diff)
Add some missing includes, so we do not have implicit function
declarations. OK miod@, millert@
Diffstat (limited to 'regress/sys/kern/sigsuspend')
-rw-r--r--regress/sys/kern/sigsuspend/sigsuspend.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/regress/sys/kern/sigsuspend/sigsuspend.c b/regress/sys/kern/sigsuspend/sigsuspend.c
index 2f8e0a92e97..d32de50474b 100644
--- a/regress/sys/kern/sigsuspend/sigsuspend.c
+++ b/regress/sys/kern/sigsuspend/sigsuspend.c
@@ -1,8 +1,11 @@
-/* $OpenBSD: sigsuspend.c,v 1.1 2005/05/31 09:27:28 art Exp $ */
+/* $OpenBSD: sigsuspend.c,v 1.2 2010/06/20 17:57:09 phessler Exp $ */
/*
* Written by Artur Grabowski <art@openbsd.org> 2005, Public domain.
*/
+
+#include <stdlib.h>
#include <signal.h>
+#include <string.h>
#include <unistd.h>
#include <err.h>
#include <sys/types.h>