diff --git a/cogl/cogl-renderer.c b/cogl/cogl-renderer.c index 54b8599f9..b1a3e8afc 100644 --- a/cogl/cogl-renderer.c +++ b/cogl/cogl-renderer.c @@ -45,7 +45,10 @@ #include "cogl-winsys-stub-private.h" #include "cogl-winsys-egl-private.h" #include "cogl-config-private.h" + +#if COGL_HAS_XLIB_SUPPORT #include "cogl-xlib-renderer.h" +#endif #ifdef COGL_HAS_GLX_SUPPORT extern const CoglWinsysVtable *_cogl_winsys_glx_get_vtable (void);