From 70e63564153ff9b6974cc5c82139777bc6ab1f5e Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Sun, 20 Oct 2019 16:40:07 +0200 Subject: [PATCH] backend-headless: fix build issue without gl-renderer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If the gl-renderer is disabled build fails with: ../libweston/backend-headless/headless.c:394:9: error: ‘EGL_PLATFORM_SURFACELESS_MESA’ undeclared (first use in this function) Fix this by including shared/weston-egl-ext.h. Signed-off-by: Stefan Agner --- libweston/backend-headless/headless.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libweston/backend-headless/headless.c b/libweston/backend-headless/headless.c index 95b390a8..c98bdc24 100644 --- a/libweston/backend-headless/headless.c +++ b/libweston/backend-headless/headless.c @@ -40,6 +40,7 @@ #include "linux-explicit-synchronization.h" #include "pixman-renderer.h" #include "renderer-gl/gl-renderer.h" +#include "shared/weston-egl-ext.h" #include "linux-dmabuf.h" #include "presentation-time-server-protocol.h" #include