summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-02-06 21:29:31 -0500
committerRich Felker <dalias@aerifal.cx>2012-02-06 21:29:31 -0500
commite5a7f14c818a622ea7fbbc981657eb0c47ce3c00 (patch)
tree5ff7550d2c2f70b85cf0e8fc6157c6776b90fd32 /include
parent4cf667c9c90cdcf63233467cbed42a2dab5c35a9 (diff)
downloadmusl-e5a7f14c818a622ea7fbbc981657eb0c47ce3c00.tar.gz
add more of the locale_t interfaces, all dummied out to ignore the locale
Diffstat (limited to 'include')
-rw-r--r--include/wctype.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/wctype.h b/include/wctype.h
index 3a5af6e7..ee5be7c6 100644
--- a/include/wctype.h
+++ b/include/wctype.h
@@ -9,6 +9,11 @@ extern "C" {
#define __NEED_wctrans_t
#define __NEED_wctype_t
+#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
+ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
+#define __NEED_locale_t
+#endif
+
#include <bits/alltypes.h>
#undef WEOF