summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qmutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/thread/qmutex.h')
-rw-r--r--src/corelib/thread/qmutex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/thread/qmutex.h b/src/corelib/thread/qmutex.h
index 6081bfe4cc0..a96db102d2a 100644
--- a/src/corelib/thread/qmutex.h
+++ b/src/corelib/thread/qmutex.h
@@ -9,6 +9,8 @@
#include <QtCore/qdeadlinetimer.h>
#include <QtCore/qtsan_impl.h>
+#include <chrono>
+
QT_BEGIN_NAMESPACE
#if QT_CONFIG(thread) || defined(Q_QDOC)