QSemaphore: add missing <chrono> include

std::chrono is still used in the header.
Do not rely on transitive includes, instead include the header
explicitly.

Change-Id: I2cf5dc275c3272151efd655a4fa85936942c5708
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit 7a33a08376a30bb7b788cafc2343378131fd1e8d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Ivan Solovev 2023-07-18 11:22:55 +02:00 committed by Qt Cherry-pick Bot
parent 9244100789
commit 2b7854bd31

View File

@ -7,6 +7,8 @@
#include <QtCore/qglobal.h>
#include <QtCore/qdeadlinetimer.h>
#include <chrono>
QT_REQUIRE_CONFIG(thread);
QT_BEGIN_NAMESPACE