diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-08 22:45:16 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-08 22:45:16 +0000 |
commit | 6db8e08fa31bc24296db13621a207e435834fdcd (patch) | |
tree | 22560e41c6bd633476d35dbd1a35e10e4f808891 /include/asterisk/localtime.h | |
parent | 37bc8c80dbeba08edc962eccaaaad2f482f1cfb3 (diff) |
Fix build on Mac OS X (and maybe FreeBSD, too)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@269119 f38db490-d61c-443f-a65b-d21fe96a405b
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 |