summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/fgetwc.c2
-rw-r--r--libc/stdio/scanf.c2
-rw-r--r--libc/stdio/vfprintf.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/libc/stdio/fgetwc.c b/libc/stdio/fgetwc.c
index 560c4ed73..cb200851b 100644
--- a/libc/stdio/fgetwc.c
+++ b/libc/stdio/fgetwc.c
@@ -5,6 +5,8 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#define mbrtowc __mbrtowc
+
#include "_stdio.h"
#ifdef __DO_UNLOCKED
diff --git a/libc/stdio/scanf.c b/libc/stdio/scanf.c
index a320a2d31..ed424f163 100644
--- a/libc/stdio/scanf.c
+++ b/libc/stdio/scanf.c
@@ -44,6 +44,8 @@
*/
#define wcslen __wcslen
+#define mbsrtowcs __mbsrtowcs
+#define mbrtowc __mbrtowc
#define _ISOC99_SOURCE /* for LLONG_MAX primarily... */
#define _GNU_SOURCE
diff --git a/libc/stdio/vfprintf.c b/libc/stdio/vfprintf.c
index bb8815416..0852c9915 100644
--- a/libc/stdio/vfprintf.c
+++ b/libc/stdio/vfprintf.c
@@ -92,6 +92,8 @@
#define strnlen __strnlen
#define wcslen __wcslen
#define wcsnlen __wcsnlen
+#define wcsrtombs __wcsrtombs
+#define mbsrtowcs __mbsrtowcs
#define _ISOC99_SOURCE /* for ULLONG primarily... */
#define _GNU_SOURCE