summaryrefslogtreecommitdiffstats
path: root/src/tools/qcstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qcstring.cpp')
-rw-r--r--src/tools/qcstring.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/tools/qcstring.cpp b/src/tools/qcstring.cpp
index 83e351a2..67a83197 100644
--- a/src/tools/qcstring.cpp
+++ b/src/tools/qcstring.cpp
@@ -39,6 +39,10 @@
**
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "ntqstring.h"
#include "ntqregexp.h"
#include "ntqdatastream.h"
@@ -52,7 +56,10 @@
#include <stdlib.h>
#include <ctype.h>
#include <limits.h>
-#ifndef TQT_NO_COMPRESS
+
+#ifdef HAVE_ZLIB_H
+#include <zlib.h>
+#else
#include "../3rdparty/zlib/zlib.h"
#endif