summaryrefslogtreecommitdiff
path: root/src/locale/wcscoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale/wcscoll.c')
-rw-r--r--src/locale/wcscoll.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/locale/wcscoll.c b/src/locale/wcscoll.c
index 20a60900..14bb8b9f 100644
--- a/src/locale/wcscoll.c
+++ b/src/locale/wcscoll.c
@@ -1,5 +1,6 @@
#include <wchar.h>
#include <locale.h>
+#include "locale_impl.h"
#include "libc.h"
/* FIXME: stub */
@@ -10,7 +11,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, 0);
+ return __wcscoll_l(l, r, CURRENT_LOCALE);
}
weak_alias(__wcscoll_l, wcscoll_l);