summaryrefslogtreecommitdiff
path: root/main/xml.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2009-02-03 00:29:49 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2009-02-03 00:29:49 +0000
commite179e613f7c291fc09102b23498e8bd128f79aeb (patch)
treec079f69e8eb11a6b8f496256b795b31c9773d773 /main/xml.c
parent673d85387a2cef9534007f13ba2d9cd770eaba1d (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: https://origsvn.digium.com/svn/asterisk/trunk@173130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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. */