aboutsummaryrefslogtreecommitdiffstats
path: root/main/xml.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-03 00:29:49 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-03 00:29:49 +0000
commit494821a0712383eb7606ffe6f05ac341c524f970 (patch)
treec079f69e8eb11a6b8f496256b795b31c9773d773 /main/xml.c
parent949420bf7d296fe2d3a676f314306cc128acfa15 (diff)
1. Make OS X compile cleanly with app_stack.
2. Use curl to download sound files, as curl is installed natively on OS X, whereas wget and fetch are not. (closes issue #14332) Reported by: oej Tested by: Corydon76 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@173130 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/xml.c')
-rw-r--r--main/xml.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/xml.c b/main/xml.c
index 9a0c66d90..d920b1d56 100644
--- a/main/xml.c
+++ b/main/xml.c
@@ -27,6 +27,7 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#if defined(HAVE_LIBXML2)
+#define _POSIX_C_SOURCE 200112L
#include <libxml/parser.h>
#include <libxml/tree.h>
/* libxml2 ast_xml implementation. */