diff --git a/cogl/cogl/cogl-gles2.h b/cogl/cogl/cogl-gles2.h index a90d0ceb6..87a06f10a 100644 --- a/cogl/cogl/cogl-gles2.h +++ b/cogl/cogl/cogl-gles2.h @@ -65,7 +65,7 @@ * conflicts we only expose the minimal set of GLES 2.0 types and enums * publicly. */ -#ifdef COGL_COMPILATION +#if defined(COGL_COMPILATION) || defined(COGL_ENABLE_MUTTER_API) #include "cogl-gl-header.h" #else #include