diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-12-12 15:45:19 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-12-12 15:45:19 +0000 |
commit | 6897665e673b0d49585a77510bd0a68dd6ed2e76 (patch) | |
tree | d921d306c50dd5ecba320fe1e0d5589ed84fedaf /newlib/libc | |
parent | baaa8b9140404b1fc7a4ad6b912201da32d8c890 (diff) | |
download | cygnal-6897665e673b0d49585a77510bd0a68dd6ed2e76.tar.gz cygnal-6897665e673b0d49585a77510bd0a68dd6ed2e76.tar.bz2 cygnal-6897665e673b0d49585a77510bd0a68dd6ed2e76.zip |
* libc/stdio/freopen.c: Add <string.h> for memset prototype.
* libc/stdio/fseek.c: Ditto.
* libc/stdio/fwide.c: Add <wchar.h> for fwide prototype.
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/stdio/freopen.c | 1 | ||||
-rw-r--r-- | newlib/libc/stdio/fseek.c | 1 | ||||
-rw-r--r-- | newlib/libc/stdio/fwide.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libc/stdio/freopen.c b/newlib/libc/stdio/freopen.c index 0d2563b0b..ae774c65b 100644 --- a/newlib/libc/stdio/freopen.c +++ b/newlib/libc/stdio/freopen.c @@ -76,6 +76,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>, #include <reent.h> #include <time.h> #include <stdio.h> +#include <string.h> #include <errno.h> #include <fcntl.h> #include <stdlib.h> diff --git a/newlib/libc/stdio/fseek.c b/newlib/libc/stdio/fseek.c index d7f8ab83f..4d5fda4fe 100644 --- a/newlib/libc/stdio/fseek.c +++ b/newlib/libc/stdio/fseek.c @@ -101,6 +101,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>, #include <_ansi.h> #include <reent.h> #include <stdio.h> +#include <string.h> #include <time.h> #include <fcntl.h> #include <stdlib.h> diff --git a/newlib/libc/stdio/fwide.c b/newlib/libc/stdio/fwide.c index b81327ada..46a7db086 100644 --- a/newlib/libc/stdio/fwide.c +++ b/newlib/libc/stdio/fwide.c @@ -55,6 +55,7 @@ C99, POSIX.1-2001. */ #include <_ansi.h> +#include <wchar.h> #include "local.h" int |