summaryrefslogtreecommitdiff
path: root/include/locale.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-14 20:45:37 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-14 20:45:37 -0500
commit131b5be2f44012ae952f5883e13c1ae72ce3b033 (patch)
tree31eb5970cee4fefc53437870c2763cc45490cd86 /include/locale.h
parent1322cb82a33a2a59e75937911d910dabc48e9af9 (diff)
downloadmusl-131b5be2f44012ae952f5883e13c1ae72ce3b033.tar.gz
more header cleanup and conformance fixes - locale.h, time.h
Diffstat (limited to 'include/locale.h')
-rw-r--r--include/locale.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/locale.h b/include/locale.h
index 70230237..9da47269 100644
--- a/include/locale.h
+++ b/include/locale.h
@@ -53,7 +53,8 @@ char *setlocale (int, const char *);
struct lconv *localeconv(void);
-#if 1
+#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
+ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
#define __NEED_locale_t