From be3b01182225d838371c3dd04f68638b18f48d42 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Tue, 3 Mar 2015 20:57:59 +0900 Subject: [PATCH] Evas GL: Fix build error on some systems w/o Wayland Thanks Mythri for the report. wl_display and wl_resource is declared in eglmesaext.h but older systems may not have that. --- src/modules/evas/engines/gl_common/evas_gl_api_ext.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/modules/evas/engines/gl_common/evas_gl_api_ext.c b/src/modules/evas/engines/gl_common/evas_gl_api_ext.c index a8b024e..5f1e045 100644 --- a/src/modules/evas/engines/gl_common/evas_gl_api_ext.c +++ b/src/modules/evas/engines/gl_common/evas_gl_api_ext.c @@ -17,6 +17,11 @@ typedef _getproc_fn (*fp_getproc)(const char *); # define EGL_NATIVE_PIXMAP_KHR 0x30b0 #endif +#ifndef EGL_WL_bind_wayland_display +struct wl_display; +struct wl_resource; +#endif + ///////////////////////////////////////////////////////////////////////////////////////////////////// // Extension HEADER ///////////////////////////////////////////////////////////////////////////////////////////////////// -- 2.7.4