diff --git a/libkwineffects/kwingltexture.h b/libkwineffects/kwingltexture.h
index 3cd8f1996b..965348332c 100644
--- a/libkwineffects/kwingltexture.h
+++ b/libkwineffects/kwingltexture.h
@@ -30,6 +30,8 @@ along with this program. If not, see .
#include
#include
+#include
+
class QImage;
class QPixmap;