summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/fputws.c2
-rw-r--r--libc/stdio/scanf.c1
-rw-r--r--libc/stdio/vfprintf.c2
3 files changed, 5 insertions, 0 deletions
diff --git a/libc/stdio/fputws.c b/libc/stdio/fputws.c
index aa5a514cb..e83cc9fcb 100644
--- a/libc/stdio/fputws.c
+++ b/libc/stdio/fputws.c
@@ -5,6 +5,8 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#define wcslen __wcslen
+
#include "_stdio.h"
extern int __fputws_unlocked(const wchar_t *__restrict ws,
diff --git a/libc/stdio/scanf.c b/libc/stdio/scanf.c
index 80a8821e7..a320a2d31 100644
--- a/libc/stdio/scanf.c
+++ b/libc/stdio/scanf.c
@@ -43,6 +43,7 @@
* standards and from an official C standard defect report.
*/
+#define wcslen __wcslen
#define _ISOC99_SOURCE /* for LLONG_MAX primarily... */
#define _GNU_SOURCE
diff --git a/libc/stdio/vfprintf.c b/libc/stdio/vfprintf.c
index 2adcefde5..bb8815416 100644
--- a/libc/stdio/vfprintf.c
+++ b/libc/stdio/vfprintf.c
@@ -90,6 +90,8 @@
#define _uintmaxtostr __libc__uintmaxtostr
#define strnlen __strnlen
+#define wcslen __wcslen
+#define wcsnlen __wcsnlen
#define _ISOC99_SOURCE /* for ULLONG primarily... */
#define _GNU_SOURCE