From 131b5be2f44012ae952f5883e13c1ae72ce3b033 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 14 Feb 2011 20:45:37 -0500 Subject: more header cleanup and conformance fixes - locale.h, time.h --- include/locale.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/locale.h') 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 -- cgit v1.2.1