summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qthreadpool.cpp
diff options
context:
space:
mode:
authorAhmad Samir <a.samirh78@gmail.com>2025-01-13 02:10:44 +0200
committerMarc Mutz <marc.mutz@qt.io>2025-01-13 20:22:11 +0000
commit158f2c95c8b69f586bd1155fc5993bdb61f76e77 (patch)
tree45f0ca1c486966315b98697ec0b323503e5c45f5 /src/corelib/thread/qthreadpool.cpp
parent3bc8ebc12f7d7e5578d40b1c00a4fe77d044f871 (diff)
Include climits explicitly instead of relying on transitive includes
Pick-to: 6.9 6.8 6.5 Change-Id: Ib55b337aa6e0a93c7ac7ee9bf492784cc81808d7 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/corelib/thread/qthreadpool.cpp')
-rw-r--r--src/corelib/thread/qthreadpool.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/thread/qthreadpool.cpp b/src/corelib/thread/qthreadpool.cpp
index f326ed21229..a975efde607 100644
--- a/src/corelib/thread/qthreadpool.cpp
+++ b/src/corelib/thread/qthreadpool.cpp
@@ -9,6 +9,7 @@
#include <QtCore/qpointer.h>
#include <algorithm>
+#include <climits> // For INT_MAX
#include <memory>
using namespace std::chrono_literals;