X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Flocale%2Fwcscoll.c;h=ad2cc691632a17caae724fed5602898dd92b9131;hb=6aeb9c6703670649ee09b3c8575fb428168bb75c;hp=95a4ca74e9b86ce1ac73018d0b318f92f9861ca0;hpb=4b0306c83c8c3614afbaf18a18e22d24f335ea04;p=musl diff --git a/src/locale/wcscoll.c b/src/locale/wcscoll.c index 95a4ca74..ad2cc691 100644 --- a/src/locale/wcscoll.c +++ b/src/locale/wcscoll.c @@ -1,6 +1,6 @@ #include #include -#include "libc.h" +#include "locale_impl.h" /* FIXME: stub */ int __wcscoll_l(const wchar_t *l, const wchar_t *r, locale_t locale) @@ -10,7 +10,7 @@ int __wcscoll_l(const wchar_t *l, const wchar_t *r, locale_t locale) int wcscoll(const wchar_t *l, const wchar_t *r) { - return __wcscoll_l(l, r, LC_GLOBAL_LOCALE); + return __wcscoll_l(l, r, CURRENT_LOCALE); } weak_alias(__wcscoll_l, wcscoll_l);