diff options
Diffstat (limited to 'include/asterisk/localtime.h')
-rw-r--r-- | include/asterisk/localtime.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asterisk/localtime.h b/include/asterisk/localtime.h index ed5fe36b9..f25e65832 100644 --- a/include/asterisk/localtime.h +++ b/include/asterisk/localtime.h @@ -24,8 +24,10 @@ #ifndef _ASTERISK_LOCALTIME_H #define _ASTERISK_LOCALTIME_H -#ifdef HAVE_NEWLOCALE +#ifdef HAVE_LOCALE_T_IN_LOCALE_H #include <locale.h> +#elif defined(HAVE_LOCALE_T_IN_XLOCALE_H) +#include <xlocale.h> #else typedef void * locale_t; #endif |