summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/textdocument.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/texteditor/textdocument.h')
-rw-r--r--src/plugins/texteditor/textdocument.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/texteditor/textdocument.h b/src/plugins/texteditor/textdocument.h
index 65caa2b2e6..8ed2ebbfd9 100644
--- a/src/plugins/texteditor/textdocument.h
+++ b/src/plugins/texteditor/textdocument.h
@@ -34,6 +34,8 @@
#include <QMap>
#include <QSharedPointer>
+#include <functional>
+
QT_BEGIN_NAMESPACE
class QAction;
class QTextCursor;