From 9414f108db466019b6d4fb7ff5d74afc0a6cc285 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 12 Mar 2011 20:45:04 +0100 Subject: locale.h, xlocale.h: guard *locale functions correctly change the guard from LOCALE to XLOCALE for uselocale/newlocale... move locale_t to xlocale.h Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- include/xlocale.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/xlocale.h') diff --git a/include/xlocale.h b/include/xlocale.h index 82dabdfda..e3def347d 100644 --- a/include/xlocale.h +++ b/include/xlocale.h @@ -39,11 +39,11 @@ typedef struct __locale_struct /* Note: LC_ALL is not a valid index into this array. */ const char *__names[13]; } *__locale_t; +#else +# include +#endif /* POSIX 2008 makes locale_t official. */ typedef __locale_t locale_t; -#else -# include -#endif #endif /* xlocale.h */ -- cgit v1.2.3