X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Flocale%2Fstrcoll.c;h=84f199ff9527d7728beea01cfbefbe06e61e02ad;hb=7e399fabd3db2c528b5982803eeba2841f547695;hp=39ea1123c620437d752ab003dd8bd9b9a1db5021;hpb=1ae4bc42808111d6b3f50c063de102f162051986;p=oweals%2Fmusl.git 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 #include +#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);