[Spice-commits] src/spice-widget-egl.c
Marc-André Lureau
elmarco at kemper.freedesktop.org
Tue Mar 22 14:17:34 UTC 2016
src/spice-widget-egl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e00995bae39669c39ab42d7e0b652de44abedfb2
Author: Jeremy White <jwhite at codeweavers.com>
Date: Tue Mar 22 09:14:25 2016 -0500
Include gdk/gdkwayland.h anytime GDK_WINDOWING_WAYLAND is defined.
A specific GTK version check is not appropriate for this particular include.
This fixes compilation on Debian Jessie.
Signed-off-by: Jeremy White <jwhite at codeweavers.com>
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
More information about the Spice-commits
mailing list