From 3f0bc3c52a6123ad89e4626f4a7831030794879a Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Mon, 15 Apr 2024 02:14:59 +0200 Subject: [PATCH] QCompilerDetection: move qsystemdetection.h to inside the include guard Pick-to: 6.6 Task-number: QTBUG-124120 Change-Id: Ia3ca4392945a793289fb9c75f50fba1bca1c691c Reviewed-by: Thiago Macieira (cherry picked from commit 785a4a7149f08fb32107e478588aeab6666d2a29) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/global/qcompilerdetection.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h index 673f1c795bb..9c46ea0efbc 100644 --- a/src/corelib/global/qcompilerdetection.h +++ b/src/corelib/global/qcompilerdetection.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 - #if 0 #pragma qt_class(QtCompilerDetection) #pragma qt_sync_skip_header_check @@ -14,6 +12,7 @@ #define QCOMPILERDETECTION_H #include +#include #include /*