aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/freopen.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2008-12-12 15:45:19 +0000
committerCorinna Vinschen <corinna@vinschen.de>2008-12-12 15:45:19 +0000
commit6897665e673b0d49585a77510bd0a68dd6ed2e76 (patch)
treed921d306c50dd5ecba320fe1e0d5589ed84fedaf /newlib/libc/stdio/freopen.c
parentbaaa8b9140404b1fc7a4ad6b912201da32d8c890 (diff)
downloadnewlib-6897665e673b0d49585a77510bd0a68dd6ed2e76.zip
newlib-6897665e673b0d49585a77510bd0a68dd6ed2e76.tar.gz
newlib-6897665e673b0d49585a77510bd0a68dd6ed2e76.tar.bz2
* 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/stdio/freopen.c')
-rw-r--r--newlib/libc/stdio/freopen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/stdio/freopen.c b/newlib/libc/stdio/freopen.c
index 0d2563b..ae774c6 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>