diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-06-08 22:45:16 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-06-08 22:45:16 +0000 |
commit | 3c26b511e03ac9dde860787f2cf3cf2ad06df495 (patch) | |
tree | 22560e41c6bd633476d35dbd1a35e10e4f808891 /include/asterisk/localtime.h | |
parent | f3a9392542c1b91fde8e9a2f38b6e43f253be109 (diff) |
Fix build on Mac OS X (and maybe FreeBSD, too)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269119 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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 |