summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAdriaan de Groot <groot@kde.org>2020-09-14 11:49:03 +0200
committerAdriaan de Groot <groot@kde.org>2020-09-14 20:41:42 +0200
commit07044d70e9cd6a547ac9b4c5a462a8dc5ad68c17 (patch)
treec76f0bd5f1369a915c46be16d757b52ff465a911 /src/plugins
parentd7d0f4d5a09d23488d4905bd5ae6b3e0f04d17a9 (diff)
Add missing #includes for FreeBSD build
QFile is no longer included implicitly via other headers, so include it explicitly in the FreeBSD framebuffer code. This is needed to make it compile (at all, although there are also API changes to chase and general bitrot). Change-Id: I3801a39503f545a24a3b2c58122774b5697358e9 Reviewed-by: David Edmundson <davidedmundson@kde.org> Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/generic/bsdmouse/qbsdmouse.cpp1
-rw-r--r--src/plugins/platforms/bsdfb/qbsdfbscreen.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/generic/bsdmouse/qbsdmouse.cpp b/src/plugins/generic/bsdmouse/qbsdmouse.cpp
index 55905199b8..b1ad8516f1 100644
--- a/src/plugins/generic/bsdmouse/qbsdmouse.cpp
+++ b/src/plugins/generic/bsdmouse/qbsdmouse.cpp
@@ -39,6 +39,7 @@
#include "qbsdmouse.h"
+#include <QFile>
#include <QSocketNotifier>
#include <QStringList>
#include <QPoint>
diff --git a/src/plugins/platforms/bsdfb/qbsdfbscreen.cpp b/src/plugins/platforms/bsdfb/qbsdfbscreen.cpp
index d752b539a0..10d45dd0e9 100644
--- a/src/plugins/platforms/bsdfb/qbsdfbscreen.cpp
+++ b/src/plugins/platforms/bsdfb/qbsdfbscreen.cpp
@@ -41,6 +41,7 @@
#include "qbsdfbscreen.h"
#include <QtFbSupport/private/qfbcursor_p.h>
#include <QtFbSupport/private/qfbwindow_p.h>
+#include <QtCore/QFile>
#include <QtCore/QRegularExpression>
#include <QtGui/QPainter>