summaryrefslogtreecommitdiffstats
path: root/newlib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/stdio/freopen.c1
-rw-r--r--newlib/libc/stdio/fseek.c1
-rw-r--r--newlib/libc/stdio/fwide.c1
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