From de5013d7b6efb58c86955f3cb79b7715ecc992f5 Mon Sep 17 00:00:00 2001 From: theraven Date: Wed, 28 Mar 2012 12:11:54 +0000 Subject: Correctly expose xlocale functions if people include the headers in the wrong order (as some ports apparently do). Approved by: dim (mentor) --- include/stdlib.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/stdlib.h') diff --git a/include/stdlib.h b/include/stdlib.h index 11ac074..7aa5db6 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -72,6 +72,9 @@ typedef struct { #define RAND_MAX 0x7fffffff __BEGIN_DECLS +#ifdef _XLOCALE_H_ +#include +#endif extern int __mb_cur_max; extern int ___mb_cur_max(void); #define MB_CUR_MAX (___mb_cur_max()) -- cgit v1.1