diff --git a/libkwineffects/kwingltexture_p.h b/libkwineffects/kwingltexture_p.h
index cec4c6c1f7..0eaca55b0a 100644
--- a/libkwineffects/kwingltexture_p.h
+++ b/libkwineffects/kwingltexture_p.h
@@ -24,6 +24,7 @@ along with this program. If not, see .
#define KWIN_GLTEXTURE_P_H
#include "kwinconfig.h" // KWIN_HAVE_OPENGL
+#include "kwinglutils.h"
#include
#include