summaryrefslogtreecommitdiff
path: root/regress/lib/libc
diff options
context:
space:
mode:
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>