From 9fde93f80c8af99adf892a96a0667b57a6f027af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Tue, 24 Apr 2018 10:02:33 +0200 Subject: [PATCH] libs: egl: utils: fix usage of GstGL macros Include gl.h for the required GstGL symbols. https://bugzilla.gnome.org/show_bug.cgi?id=795391 --- gst-libs/gst/vaapi/gstvaapiutils_egl.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/vaapi/gstvaapiutils_egl.c b/gst-libs/gst/vaapi/gstvaapiutils_egl.c index 17a6cd8911..958d1fde0b 100644 --- a/gst-libs/gst/vaapi/gstvaapiutils_egl.c +++ b/gst-libs/gst/vaapi/gstvaapiutils_egl.c @@ -22,8 +22,11 @@ #include "sysdeps.h" #include "gstvaapiutils_egl.h" -#if USE_GST_GL_HELPERS && GST_GL_HAVE_PLATFORM_EGL -# include +#if USE_GST_GL_HELPERS +# include +# if GST_GL_HAVE_PLATFORM_EGL +# include +# endif #endif #define DEBUG 1