summaryrefslogtreecommitdiff
path: root/indra/llxuixml
diff options
context:
space:
mode:
authorBoroondas Gupte <hg@boroon.dasgupta.ch>2010-09-30 02:24:16 +0200
committerBoroondas Gupte <hg@boroon.dasgupta.ch>2010-09-30 02:24:16 +0200
commit92008ee7381b8f2118259fcaf12ca85bed392080 (patch)
treea28b076d9a50d2fb48f7fe1214c3d3c481753d56 /indra/llxuixml
parentb2028085fdfddfd5a7ac0f52d9f34b84457b3b98 (diff)
STORM-222 FIXED indra/llxuixml/llxuiparser.cpp:32:25: error: expat/expat.h: No such file or directory
Diffstat (limited to 'indra/llxuixml')
-rw-r--r--indra/llxuixml/llxuiparser.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/llxuixml/llxuiparser.cpp b/indra/llxuixml/llxuiparser.cpp
index 00128c978a..45f97569dc 100644
--- a/indra/llxuixml/llxuiparser.cpp
+++ b/indra/llxuixml/llxuiparser.cpp
@@ -35,7 +35,13 @@
#include "llxuiparser.h"
#include "llxmlnode.h"
+
+#ifdef LL_STANDALONE
+#include <expat.h>
+#else
#include "expat/expat.h"
+#endif
+
#include <fstream>
#include <boost/tokenizer.hpp>
//#include <boost/spirit/include/qi.hpp>
@@ -1366,4 +1372,4 @@ bool LLFastXUIParser::readSDValue(Parser& parser, void* val_ptr)
LLFastXUIParser& self = static_cast<LLFastXUIParser&>(parser);
*((LLSD*)val_ptr) = LLSD(self.mCurAttributeValueBegin);
return true;
-} \ No newline at end of file
+}