X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Flocale%2Fstrcoll.c;h=dd3cbc480e34520fd62628d43ede7f11c0d92611;hb=0ea78a6421322cab24d448670006ee2f99af3ac9;hp=8b84b1e63d2971ed1f809a4161fc6da204cc2e80;hpb=4b0306c83c8c3614afbaf18a18e22d24f335ea04;p=musl diff --git a/src/locale/strcoll.c b/src/locale/strcoll.c index 8b84b1e6..dd3cbc48 100644 --- a/src/locale/strcoll.c +++ b/src/locale/strcoll.c @@ -1,6 +1,6 @@ #include #include -#include "libc.h" +#include "locale_impl.h" int __strcoll_l(const char *l, const char *r, locale_t loc) { @@ -9,7 +9,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, LC_GLOBAL_LOCALE); + return __strcoll_l(l, r, CURRENT_LOCALE); } weak_alias(__strcoll_l, strcoll_l);