[svn-commits] tilghman: trunk r197374 - /trunk/main/xml.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed May 27 18:48:19 CDT 2009


Author: tilghman
Date: Wed May 27 18:48:15 2009
New Revision: 197374

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=197374
Log:
Revert commit 192032.  This define is needed on Mac OS X.

Modified:
    trunk/main/xml.c

Modified: trunk/main/xml.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/main/xml.c?view=diff&rev=197374&r1=197373&r2=197374
==============================================================================
--- trunk/main/xml.c (original)
+++ trunk/main/xml.c Wed May 27 18:48:15 2009
@@ -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>




More information about the svn-commits mailing list