diff options
-rw-r--r-- | main/xml.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/xml.c b/main/xml.c index 36e7dd812..54da9fef5 100644 --- a/main/xml.c +++ b/main/xml.c @@ -27,6 +27,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #if defined(HAVE_LIBXML2) +#ifndef _POSIX_C_SOURCE /* Needed on Mac OS X */ +#define _POSIX_C_SOURCE 200112L +#endif #include <libxml/parser.h> #include <libxml/tree.h> #include <libxml/xinclude.h> |