summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.tests/arch/arch.cpp1
-rw-r--r--src/corelib/global/qcompilerdetection.h4
-rw-r--r--src/corelib/global/qprocessordetection.h4
-rw-r--r--src/corelib/global/qsystemdetection.h4
4 files changed, 13 insertions, 0 deletions
diff --git a/config.tests/arch/arch.cpp b/config.tests/arch/arch.cpp
index 1a96fb982f..b1ec3d7111 100644
--- a/config.tests/arch/arch.cpp
+++ b/config.tests/arch/arch.cpp
@@ -40,6 +40,7 @@
****************************************************************************/
// NOTE: This file is not meant to be compiled, only preprocessed.
+#define QGLOBAL_H
#include "../../src/corelib/global/qprocessordetection.h"
#undef alpha
#undef arm
diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h
index 67baf42f8b..e1563b0645 100644
--- a/src/corelib/global/qcompilerdetection.h
+++ b/src/corelib/global/qcompilerdetection.h
@@ -40,6 +40,10 @@
**
****************************************************************************/
+#ifndef QGLOBAL_H
+# include <QtCore/qglobal.h>
+#endif
+
#ifndef QCOMPILERDETECTION_H
#define QCOMPILERDETECTION_H
diff --git a/src/corelib/global/qprocessordetection.h b/src/corelib/global/qprocessordetection.h
index 04e0f19f06..109545c10e 100644
--- a/src/corelib/global/qprocessordetection.h
+++ b/src/corelib/global/qprocessordetection.h
@@ -39,6 +39,10 @@
**
****************************************************************************/
+#ifndef QGLOBAL_H
+# include <QtCore/qglobal.h>
+#endif
+
#ifndef QPROCESSORDETECTION_H
#define QPROCESSORDETECTION_H
diff --git a/src/corelib/global/qsystemdetection.h b/src/corelib/global/qsystemdetection.h
index db5775d021..94ff42a789 100644
--- a/src/corelib/global/qsystemdetection.h
+++ b/src/corelib/global/qsystemdetection.h
@@ -39,6 +39,10 @@
**
****************************************************************************/
+#ifndef QGLOBAL_H
+# include <QtCore/qglobal.h>
+#endif
+
#ifndef QSYSTEMDETECTION_H
#define QSYSTEMDETECTION_H