diff --git a/src/client/global/qwaylandclientextension.h b/src/client/global/qwaylandclientextension.h
index afb3f868fba6212fcddb52a5aa7453c2ea9e28e2..3d80baaa1acab9a0eafe990bc0452ec11efcce15 100644
--- a/src/client/global/qwaylandclientextension.h
+++ b/src/client/global/qwaylandclientextension.h
@@ -40,6 +40,7 @@
 #include <QObject>
 #include <QtWaylandClient/qwaylandclientexport.h>
 
+struct wl_interface;
 struct wl_registry;
 
 QT_BEGIN_NAMESPACE