diff --git a/cogl/winsys/cogl-winsys-egl-private.h b/cogl/winsys/cogl-winsys-egl-private.h index d228ffbb1..2fc77849d 100644 --- a/cogl/winsys/cogl-winsys-egl-private.h +++ b/cogl/winsys/cogl-winsys-egl-private.h @@ -27,7 +27,9 @@ #include "cogl-defines.h" #include "cogl-winsys-private.h" #include "cogl-context.h" +#ifdef COGL_HAS_EGL_PLATFORM_KMS_SUPPORT #include "cogl-winsys-kms.h" +#endif typedef enum _CoglEGLWinsysFeature {