summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKai Köhne <[email protected]>2022-10-03 16:03:57 +0200
committerKai Koehne <[email protected]>2022-10-03 21:39:07 +0000
commitf1448b29e3ad4a1b5e1b37f177c9ad83f74e47e7 (patch)
tree2e4e985295d2d157942772c6ca55374f92814d1b /src
parente418a9b9bfd8ba8df1e734bbf802077bd7c724ce (diff)
Add <algorithm> include to qtmochelpers.h
std::min is defined in header <algorithm>. It seems that the latest macOS/iOS clang fails without it. Change-Id: I3d1cfad27244580ea975db870d993cce394b4b2f Reviewed-by: Giuseppe D'Angelo <[email protected]> Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/kernel/qtmochelpers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/kernel/qtmochelpers.h b/src/corelib/kernel/qtmochelpers.h
index 7bdaaf276b4..4af6e407237 100644
--- a/src/corelib/kernel/qtmochelpers.h
+++ b/src/corelib/kernel/qtmochelpers.h
@@ -17,6 +17,8 @@
#include <QtCore/qglobal.h>
+#include <algorithm>
+
#if 0
#pragma qt_no_master_include
#endif