diff options
author | jb <jb@FreeBSD.org> | 1998-03-09 06:51:23 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-03-09 06:51:23 +0000 |
commit | 57eab44cdf9ffdde0c0474dae3eb964c3aec98c3 (patch) | |
tree | b8c37b9b3cb6be53e00a0c501842255513dba0bb /lib | |
parent | b822200d69e79f09f797e2b0a22b4117439af34a (diff) | |
download | FreeBSD-src-57eab44cdf9ffdde0c0474dae3eb964c3aec98c3.zip FreeBSD-src-57eab44cdf9ffdde0c0474dae3eb964c3aec98c3.tar.gz |
Added #include <string.h> to get prototypes.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/stdio/tmpfile.c | 1 | ||||
-rw-r--r-- | lib/libc/stdio/vasprintf.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/stdio/tmpfile.c b/lib/libc/stdio/tmpfile.c index 2f8abfc..3c5e97e 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 7b75b2c..a8403d7 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> |