A specific GTK version check is not appropriate for this particular include. This fixes compilation on Debian Jessie. Signed-off-by: Jeremy White <jwhite@xxxxxxxxxxxxxxx> --- src/spice-widget-egl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spice-widget-egl.c b/src/spice-widget-egl.c index a9bea52..883983e 100644 --- a/src/spice-widget-egl.c +++ b/src/spice-widget-egl.c @@ -29,7 +29,7 @@ #include <libdrm/drm_fourcc.h> #include <gdk/gdkx.h> -#if GTK_CHECK_VERSION(3,16,0) +#ifdef GDK_WINDOWING_WAYLAND #include <gdk/gdkwayland.h> #endif -- 2.1.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel