aboutsummaryrefslogtreecommitdiffstats
path: root/main/xml.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-27 23:49:24 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-27 23:49:24 +0000
commite5ba9700d0fb47224e2571f7e64f8e495f7606c2 (patch)
treee02e53f48de4107e3d3047ecdcb3f4e61a35f27d /main/xml.c
parent3f49e5f593c6f104f87451b6636105dc953625c9 (diff)
Merged revisions 197374 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r197374 | tilghman | 2009-05-27 18:48:15 -0500 (Wed, 27 May 2009) | 2 lines Revert commit 192032. This define is needed on Mac OS X. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@197375 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/xml.c')
-rw-r--r--main/xml.c3
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>