Mercurial > hg > octave-lojdl > gnulib-hg
diff lib/locale.in.h @ 12340:2da64958ab60
locale: Make locale_t available when possible.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 22 Nov 2009 23:31:11 +0100 (2009-11-22) |
parents | ff3dd373542b |
children | f214e6acb33b |
line wrap: on
line diff
--- a/lib/locale.in.h +++ b/lib/locale.in.h @@ -29,6 +29,11 @@ /* NetBSD 5.0 mis-defines NULL. */ #include <stddef.h> +/* MacOS X 10.5 defines the locale_t type in <xlocale.h>. */ +#if @HAVE_XLOCALE_H@ +# include <xlocale.h> +#endif + /* The LC_MESSAGES locale category is specified in POSIX, but not in ISO C. On systems that don't define it, use the same value as GNU libintl. */ #if !defined LC_MESSAGES