summaryrefslogtreecommitdiffstats
path: root/src/corelib/text
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2021-04-29 10:31:53 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2021-04-29 16:39:17 +0200
commit695509a9e7f466b984153350a096e839c4952993 (patch)
treed712c5df31bd690c3db49ce81c2e0f6629f73f68 /src/corelib/text
parent5a8f1cfab7e692367c4dddbcc6775864c5a4c246 (diff)
Fix build with GCC 11: include <limits>
Amends: 0afad46bb71b106780dd641de768a81d9f6c6a51 Task-number: QTBUG-90395 Change-Id: I396a9f0cee270054c93b2636ebf3e1494f590953 Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'src/corelib/text')
-rw-r--r--src/corelib/text/qbytearraymatcher.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/text/qbytearraymatcher.h b/src/corelib/text/qbytearraymatcher.h
index 0ed0da7c9f..2f1cd9106e 100644
--- a/src/corelib/text/qbytearraymatcher.h
+++ b/src/corelib/text/qbytearraymatcher.h
@@ -42,6 +42,8 @@
#include <QtCore/qbytearray.h>
+#include <limits>
+
QT_BEGIN_NAMESPACE