summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/mbtowc.c1
-rw-r--r--stdlib/wctomb.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/stdlib/mbtowc.c b/stdlib/mbtowc.c
index cba34d32a4..0d84f50d4f 100644
--- a/stdlib/mbtowc.c
+++ b/stdlib/mbtowc.c
@@ -17,6 +17,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <stdlib.h>
+#include <string.h>
 #include <wchar.h>
 #include <gconv.h>
 #include <wcsmbs/wcsmbsload.h>
diff --git a/stdlib/wctomb.c b/stdlib/wctomb.c
index 174bbf46c2..6b9024797a 100644
--- a/stdlib/wctomb.c
+++ b/stdlib/wctomb.c
@@ -17,6 +17,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <stdlib.h>
+#include <string.h>
 #include <wchar.h>
 #include <gconv.h>
 #include <wcsmbs/wcsmbsload.h>