From f696b7c31f1ea08f0a98fd7201cea9e2e4492ed5 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Mon, 15 Mar 2021 15:32:40 +0100 Subject: Conversion to the cmake building system. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gregory guy Signed-off-by: Slávek Banko --- src/tools/qcstring.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/tools/qcstring.cpp') diff --git a/src/tools/qcstring.cpp b/src/tools/qcstring.cpp index 83e351a23..67a831970 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 #include #include -#ifndef TQT_NO_COMPRESS + +#ifdef HAVE_ZLIB_H +#include +#else #include "../3rdparty/zlib/zlib.h" #endif -- cgit v1.2.3