diff --git a/autotests/integration/plasma_surface_test.cpp b/autotests/integration/plasma_surface_test.cpp
index 7cad53008c..faf2e905ea 100644
--- a/autotests/integration/plasma_surface_test.cpp
+++ b/autotests/integration/plasma_surface_test.cpp
@@ -65,7 +65,6 @@ private Q_SLOTS:
private:
KWayland::Client::Compositor *m_compositor = nullptr;
- Shell *m_shell = nullptr;
PlasmaShell *m_plasmaShell = nullptr;
};
diff --git a/xwl/databridge.h b/xwl/databridge.h
index dc43ee6109..d4b86c3318 100644
--- a/xwl/databridge.h
+++ b/xwl/databridge.h
@@ -25,7 +25,7 @@ along with this program. If not, see .
#include
-class xcb_xfixes_selection_notify_event_t;
+struct xcb_xfixes_selection_notify_event_t;
namespace KWayland
{