diff options
Diffstat (limited to 'src/locale/wcsxfrm.c')
-rw-r--r-- | src/locale/wcsxfrm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/locale/wcsxfrm.c b/src/locale/wcsxfrm.c index 5d89e7dd..0a0b776d 100644 --- a/src/locale/wcsxfrm.c +++ b/src/locale/wcsxfrm.c @@ -1,5 +1,6 @@ #include <wchar.h> #include <locale.h> +#include "locale_impl.h" #include "libc.h" /* collate only by code points */ @@ -17,7 +18,7 @@ size_t __wcsxfrm_l(wchar_t *restrict dest, const wchar_t *restrict src, size_t n size_t wcsxfrm(wchar_t *restrict dest, const wchar_t *restrict src, size_t n) { - return __wcsxfrm_l(dest, src, n, 0); + return __wcsxfrm_l(dest, src, n, CURRENT_LOCALE); } weak_alias(__wcsxfrm_l, wcsxfrm_l); |