diff options
Diffstat (limited to 'src/locale/strcoll.c')
-rw-r--r-- | src/locale/strcoll.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/locale/strcoll.c b/src/locale/strcoll.c index 39ea1123..84f199ff 100644 --- a/src/locale/strcoll.c +++ b/src/locale/strcoll.c @@ -1,5 +1,6 @@ #include <string.h> #include <locale.h> +#include "locale_impl.h" #include "libc.h" int __strcoll_l(const char *l, const char *r, locale_t loc) @@ -9,7 +10,7 @@ int __strcoll_l(const char *l, const char *r, locale_t loc) int strcoll(const char *l, const char *r) { - return __strcoll_l(l, r, 0); + return __strcoll_l(l, r, CURRENT_LOCALE); } weak_alias(__strcoll_l, strcoll_l); |