From 4b341a8b33495a457c37185e3f6fe19734ef246b Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Thu, 16 Feb 2017 21:52:23 +0000 Subject: [PATCH] clients: Fix build without Cairo/GLES2 If we're building with EGL support generally, but without Cairo/GLESv2, building the clients fail, because window.c defines the EGL native types, however platform.h also brings these in. Signed-off-by: Daniel Stone Cc: Emil Velikov Cc: Bryce Harrington Reviewed-by: Pekka Paalanen Tested-by: Pekka Paalanen Reviewed-by: Emil Velikov Acked-by: Bryce Harrington --- clients/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/window.c b/clients/window.c index 59fc07e30..95796d465 100644 --- a/clients/window.c +++ b/clients/window.c @@ -55,7 +55,7 @@ #include #include -#else /* HAVE_CAIRO_EGL */ +#elif !defined(ENABLE_EGL) /* platform.h defines these if EGL is enabled */ typedef void *EGLDisplay; typedef void *EGLConfig; typedef void *EGLContext;