summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>1998-03-09 06:51:23 +0000
committerJohn Birrell <jb@FreeBSD.org>1998-03-09 06:51:23 +0000
commite7b6782c39ecc02fbfc5545df7fdc0a43c82297e (patch)
treea47dac77bde2eb28da84c0dd9935877bdec3aaaf /lib/libc
parent196c0ee3737ba008ef57a7ce99276589157101da (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/tmpfile.c1
-rw-r--r--lib/libc/stdio/vasprintf.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/stdio/tmpfile.c b/lib/libc/stdio/tmpfile.c
index 2f8abfcc2331..3c5e97ead5ee 100644
--- a/lib/libc/stdio/tmpfile.c
+++ b/lib/libc/stdio/tmpfile.c
@@ -43,6 +43,7 @@ static char sccsid[] = "@(#)tmpfile.c 8.1 (Berkeley) 6/4/93";
#include <unistd.h>
#include <errno.h>
#include <stdio.h>
+#include <string.h>
#include <paths.h>
FILE *
diff --git a/lib/libc/stdio/vasprintf.c b/lib/libc/stdio/vasprintf.c
index 7b75b2c653b4..a8403d7764d6 100644
--- a/lib/libc/stdio/vasprintf.c
+++ b/lib/libc/stdio/vasprintf.c
@@ -24,11 +24,12 @@
*/
#if defined(LIBC_RCS) && !defined(lint)
-static char rcsid[] = "$Id: vasprintf.c,v 1.6 1997/07/06 07:54:56 peter Exp $";
+static char rcsid[] = "$Id: vasprintf.c,v 1.7 1997/07/06 08:42:37 peter Exp $";
#endif /* LIBC_RCS and not lint */
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#if __STDC__
#include <stdarg.h>