summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/corelib/thread/qsemaphore.h2
1 files changed, 2 insertions, 0 deletions
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 <QtCore/qglobal.h>
#include <QtCore/qdeadlinetimer.h>
+#include <chrono>
+
QT_REQUIRE_CONFIG(thread);
QT_BEGIN_NAMESPACE