diff options
author | Ahmad Samir <a.samirh78@gmail.com> | 2023-02-13 00:50:10 +0200 |
---|---|---|
committer | Ahmad Samir <a.samirh78@gmail.com> | 2023-05-26 19:48:32 +0300 |
commit | 516aa662a06fd01e7caf23f282702465a23424b8 (patch) | |
tree | 37d690b7fd43a325b41b73a56652f17797b625fd /src/corelib/tools/qcontiguouscache.cpp | |
parent | 0677d334f85f6d39f6f6495162eec69712e42370 (diff) |
Break qglobal.h cyclic includes [3/3]
... with q*atomic.h.
Drive-by change: include <climits> instead of <limits.h>, from the
former's docs:
«This is a Standard C++ Library file. You should @c \#include this
file in your programs, rather than any of the @a *.h implementation
files.»
Task-number: QTBUG-106722
Change-Id: Id8169c482d2231c1620db033fbed1f904e15ed9c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qcontiguouscache.cpp')
-rw-r--r-- | src/corelib/tools/qcontiguouscache.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/tools/qcontiguouscache.cpp b/src/corelib/tools/qcontiguouscache.cpp index 73cfed97f2..d28d1e7153 100644 --- a/src/corelib/tools/qcontiguouscache.cpp +++ b/src/corelib/tools/qcontiguouscache.cpp @@ -6,6 +6,8 @@ #include <QDebug> #endif +#include <QtCore/qmalloc.h> + QT_BEGIN_NAMESPACE #ifdef QT_QCONTIGUOUSCACHE_DEBUG |