summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/time/wcsftime.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/time/wcsftime.c b/src/time/wcsftime.c
index 469d0f4c..7d9cef00 100644
--- a/src/time/wcsftime.c
+++ b/src/time/wcsftime.c
@@ -2,6 +2,7 @@
#include <time.h>
#include <string.h>
#include <locale.h>
+#include "libc.h"
size_t __strftime_l(char *restrict, size_t, const char *restrict, const struct tm *restrict, locale_t);
@@ -36,3 +37,5 @@ size_t wcsftime(wchar_t *restrict wcs, size_t n, const wchar_t *restrict f, cons
{
return __wcsftime_l(wcs, n, f, tm, 0);
}
+
+weak_alias(__wcsftime_l, wcsftime_l);