diff options
| author | Ahmad Samir <a.samirh78@gmail.com> | 2025-01-13 02:10:44 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2025-01-13 20:22:11 +0000 |
| commit | 158f2c95c8b69f586bd1155fc5993bdb61f76e77 (patch) | |
| tree | 45f0ca1c486966315b98697ec0b323503e5c45f5 /src/corelib/thread/qthreadpool.cpp | |
| parent | 3bc8ebc12f7d7e5578d40b1c00a4fe77d044f871 (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.cpp | 1 |
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; |
