diff options
Diffstat (limited to 'stdio-common')
-rw-r--r-- | stdio-common/scanf4.c | 1 | ||||
-rw-r--r-- | stdio-common/scanf5.c | 1 | ||||
-rw-r--r-- | stdio-common/temptest.c | 1 | ||||
-rw-r--r-- | stdio-common/tst-fileno.c | 3 | ||||
-rw-r--r-- | stdio-common/tst-printfsz.c | 1 |
5 files changed, 6 insertions, 1 deletions
diff --git a/stdio-common/scanf4.c b/stdio-common/scanf4.c index 177b2ec..f9a9134 100644 --- a/stdio-common/scanf4.c +++ b/stdio-common/scanf4.c @@ -1,4 +1,5 @@ #include <stdio.h> +#include <stdlib.h> int main(int arc, char *argv[]) diff --git a/stdio-common/scanf5.c b/stdio-common/scanf5.c index bbbb774..fb4acfa 100644 --- a/stdio-common/scanf5.c +++ b/stdio-common/scanf5.c @@ -1,4 +1,5 @@ #include <stdio.h> +#include <stdlib.h> int main(int argc, char *argv[]) diff --git a/stdio-common/temptest.c b/stdio-common/temptest.c index 35ea4dc..ec8e179 100644 --- a/stdio-common/temptest.c +++ b/stdio-common/temptest.c @@ -1,4 +1,5 @@ #include <stdio.h> +#include <stdlib.h> #include <string.h> char *files[500]; diff --git a/stdio-common/tst-fileno.c b/stdio-common/tst-fileno.c index 0b47c0f..79c768d 100644 --- a/stdio-common/tst-fileno.c +++ b/stdio-common/tst-fileno.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1994, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1994, 1997, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -17,6 +17,7 @@ Boston, MA 02111-1307, USA. */ #include <stdio.h> +#include <stdlib.h> #include <unistd.h> static int diff --git a/stdio-common/tst-printfsz.c b/stdio-common/tst-printfsz.c index fed829c..5925050 100644 --- a/stdio-common/tst-printfsz.c +++ b/stdio-common/tst-printfsz.c @@ -1,6 +1,7 @@ /* Based on code by Larry McVoy <lm@neteng.engr.sgi.com>. */ #include <printf.h> #include <stdio.h> +#include <string.h> #define V 12345678.12345678 |