From 7a33a08376a30bb7b788cafc2343378131fd1e8d Mon Sep 17 00:00:00 2001 From: Ivan Solovev Date: Tue, 18 Jul 2023 11:22:55 +0200 Subject: [PATCH] QSemaphore: add missing include std::chrono is still used in the header. Do not rely on transitive includes, instead include the header explicitly. Pick-to: 6.6 Change-Id: I2cf5dc275c3272151efd655a4fa85936942c5708 Reviewed-by: Marc Mutz --- src/corelib/thread/qsemaphore.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/corelib/thread/qsemaphore.h b/src/corelib/thread/qsemaphore.h index 28f3f626649..dda722a5823 100644 --- a/src/corelib/thread/qsemaphore.h +++ b/src/corelib/thread/qsemaphore.h @@ -7,6 +7,8 @@ #include #include +#include + QT_REQUIRE_CONFIG(thread); QT_BEGIN_NAMESPACE