aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2019-07-09 11:04:14 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2019-07-09 12:50:56 +0200
commit938ce833458d6bb2e99b538d5d97b2af2d04d152 (patch)
treec35d052e52c39a8ea583ada227ed81f56cfabb70 /src
parent041f5a0529b95271a2768b188242710bda48c5db (diff)
Fix standalone build
The header file uses std::function and should include the corresponding header file and not rely on the includee to do that. Change-Id: Ic7a87aea4fcf49d17b0e5ef6c1aaf35424b66f01 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/qml/compiler/qv4compileddata_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4compileddata_p.h b/src/qml/compiler/qv4compileddata_p.h
index 1ee5c6a195..8a40255062 100644
--- a/src/qml/compiler/qv4compileddata_p.h
+++ b/src/qml/compiler/qv4compileddata_p.h
@@ -50,6 +50,8 @@
// We mean it.
//
+#include <functional>
+
#include <QtCore/qstring.h>
#include <QtCore/qscopeguard.h>
#include <QtCore/qvector.h>