summaryrefslogtreecommitdiff
path: root/indra/llxml
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llxml')
-rw-r--r--indra/llxml/llxmlnode.h4
-rw-r--r--indra/llxml/llxmlparser.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/indra/llxml/llxmlnode.h b/indra/llxml/llxmlnode.h
index 56e66f2f9d..4084a45795 100644
--- a/indra/llxml/llxmlnode.h
+++ b/indra/llxml/llxmlnode.h
@@ -10,7 +10,11 @@
#define LL_LLXMLNODE_H
#define XML_STATIC
+#ifdef LL_STANDALONE
+#include <expat.h>
+#else
#include "expat/expat.h"
+#endif
#include <map>
#include "indra_constants.h"
diff --git a/indra/llxml/llxmlparser.h b/indra/llxml/llxmlparser.h
index 2ef790094e..a378c15265 100644
--- a/indra/llxml/llxmlparser.h
+++ b/indra/llxml/llxmlparser.h
@@ -10,7 +10,11 @@
#define LL_LLXMLPARSER_H
#define XML_STATIC
+#ifdef LL_STANDALONE
+#include <expat.h>
+#else
#include "expat/expat.h"
+#endif
class LLXmlParser
{