diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/corelib/thread/qatomic.h | 2 | ||||
| -rw-r--r-- | src/corelib/thread/qbasicatomic.h | 2 | ||||
| -rw-r--r-- | src/corelib/thread/qgenericatomic.h | 1 | ||||
| -rw-r--r-- | src/corelib/tools/qcontiguouscache.cpp | 2 | ||||
| -rw-r--r-- | src/corelib/tools/qcontiguouscache.h | 7 |
5 files changed, 8 insertions, 6 deletions
diff --git a/src/corelib/thread/qatomic.h b/src/corelib/thread/qatomic.h index 24f2616e82f..7fe5ac69b9d 100644 --- a/src/corelib/thread/qatomic.h +++ b/src/corelib/thread/qatomic.h @@ -2,8 +2,6 @@ // Copyright (C) 2016 Intel Corporation. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only -#include <QtCore/qglobal.h> - #ifndef QATOMIC_H #define QATOMIC_H diff --git a/src/corelib/thread/qbasicatomic.h b/src/corelib/thread/qbasicatomic.h index d03c270ed6e..e3fbe558908 100644 --- a/src/corelib/thread/qbasicatomic.h +++ b/src/corelib/thread/qbasicatomic.h @@ -2,8 +2,6 @@ // Copyright (C) 2018 Intel Corporation. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only -#include <QtCore/qglobal.h> - #ifndef QBASICATOMIC_H #define QBASICATOMIC_H diff --git a/src/corelib/thread/qgenericatomic.h b/src/corelib/thread/qgenericatomic.h index b8a022a2ac1..0e4a8a7562c 100644 --- a/src/corelib/thread/qgenericatomic.h +++ b/src/corelib/thread/qgenericatomic.h @@ -5,7 +5,6 @@ #ifndef QGENERICATOMIC_H #define QGENERICATOMIC_H -#include <QtCore/qglobal.h> #include <QtCore/qtypeinfo.h> QT_BEGIN_NAMESPACE diff --git a/src/corelib/tools/qcontiguouscache.cpp b/src/corelib/tools/qcontiguouscache.cpp index 73cfed97f20..d28d1e71530 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 diff --git a/src/corelib/tools/qcontiguouscache.h b/src/corelib/tools/qcontiguouscache.h index 98fa82fda92..7b167292a86 100644 --- a/src/corelib/tools/qcontiguouscache.h +++ b/src/corelib/tools/qcontiguouscache.h @@ -5,7 +5,12 @@ #define QCONTIGUOUSCACHE_H #include <QtCore/qatomic.h> -#include <limits.h> +#include <QtCore/qassert.h> +#include <QtCore/qtclasshelpermacros.h> +#include <QtCore/qtcoreexports.h> + +#include <climits> +#include <limits> #include <new> QT_BEGIN_NAMESPACE |
