summaryrefslogtreecommitdiff
path: root/regress/lib/libc
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2003-08-02 01:24:38 +0000
committerDavid Krause <david@cvs.openbsd.org>2003-08-02 01:24:38 +0000
commitbb9c508606ec678987fdff045b51692b9a94fff4 (patch)
treedfb3b2df3f049059ee009ffa0ffcaa281ffa8b7b /regress/lib/libc
parent23c48bb9313c4f573d08c508b80f786d2436fa3f (diff)
add missing includes
ok deraadt@ tedu@
Diffstat (limited to 'regress/lib/libc')
-rw-r--r--regress/lib/libc/alloca/alloca.c3
-rw-r--r--regress/lib/libc/popen/popen.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/regress/lib/libc/alloca/alloca.c b/regress/lib/libc/alloca/alloca.c
index 1c264292933..14ef87b29ad 100644
--- a/regress/lib/libc/alloca/alloca.c
+++ b/regress/lib/libc/alloca/alloca.c
@@ -1,8 +1,9 @@
-/* $OpenBSD: alloca.c,v 1.4 2003/07/31 21:48:02 deraadt Exp $ */
+/* $OpenBSD: alloca.c,v 1.5 2003/08/02 01:24:36 david Exp $ */
/* Written by Michael Shalayeff, 2003, Public Domain. */
#include <stdio.h>
+#include <string.h>
int
main(int argc, char *argv[])
diff --git a/regress/lib/libc/popen/popen.c b/regress/lib/libc/popen/popen.c
index 491c5becea1..95ea67f31bf 100644
--- a/regress/lib/libc/popen/popen.c
+++ b/regress/lib/libc/popen/popen.c
@@ -38,6 +38,7 @@
#include <sys/param.h>
+#include <err.h>
#include <errno.h>
#include <paths.h>
#include <stdio.h>