summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorBoroondas Gupte <hg@boroon.dasgupta.ch>2010-10-25 11:38:33 +0200
committerBoroondas Gupte <hg@boroon.dasgupta.ch>2010-10-25 11:38:33 +0200
commit03acf85c36f2de235d6bf8a07b8a253c30679570 (patch)
tree510ede31d99e8cc3a2d05f378206125d67f283c5 /indra/llcommon
parent807d835c2bfc5d794a74f9690d1fafbe55ff88cc (diff)
parente3d61c92368189c34a406070c97a62ef0958a9f9 (diff)
CTS-320 (part 2 of 3) use system zlib for standalone
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llsdserialize.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/llcommon/llsdserialize.cpp b/indra/llcommon/llsdserialize.cpp
index c341b15539..b1e88b0f8f 100644
--- a/indra/llcommon/llsdserialize.cpp
+++ b/indra/llcommon/llsdserialize.cpp
@@ -39,7 +39,12 @@
#include <iostream>
#include "apr_base64.h"
-#include "zlib/zlib.h" // for davep's dirty little zip functions
+
+#ifdef LL_STANDALONE
+# include <zlib.h>
+#else
+# include "zlib/zlib.h" // for davep's dirty little zip functions
+#endif
#if !LL_WINDOWS
#include <netinet/in.h> // htonl & ntohl