summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qcoreglobaldata_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/kernel/qcoreglobaldata_p.h')
-rw-r--r--src/corelib/kernel/qcoreglobaldata_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/kernel/qcoreglobaldata_p.h b/src/corelib/kernel/qcoreglobaldata_p.h
index c3c2f7b4a4..fda6b52b6e 100644
--- a/src/corelib/kernel/qcoreglobaldata_p.h
+++ b/src/corelib/kernel/qcoreglobaldata_p.h
@@ -57,7 +57,9 @@
#include "QtCore/qreadwritelock.h"
#include "QtCore/qhash.h"
#include "QtCore/qbytearray.h"
+#if QT_CONFIG(textcodec)
#include "QtCore/qtextcodec.h"
+#endif
#include "QtCore/qmutex.h"
QT_BEGIN_NAMESPACE