diff --git a/clutter/cogl/cogl/winsys/cogl-eglx.c b/clutter/cogl/cogl/winsys/cogl-eglx.c index 01ba5c9d0..1849ea27f 100644 --- a/clutter/cogl/cogl/winsys/cogl-eglx.c +++ b/clutter/cogl/cogl/winsys/cogl-eglx.c @@ -27,7 +27,11 @@ #include "cogl.h" +#ifdef HAVE_COGL_GLES2 #include +#else /* HAVE_COGL_GLES2 */ +#include +#endif /* HAVE_COGL_GLES2 */ CoglFuncPtr _cogl_winsys_get_proc_address (const char *name)