From 236ea6956041bb59f4210dc0bd7b4cc4414f09d1 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Wed, 19 Feb 2014 08:57:23 +0100 Subject: [PATCH] Fix build gstreamer-vaapi into pure Wayland build Replace GL by GLES for Wayland. Change-Id: Iacefe64e35020ac46c99647f8dede83354d7192d Signed-off-by: Ronan Le Martret --- gst-libs/gst/vaapi/gstvaapitexture.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/vaapi/gstvaapitexture.h b/gst-libs/gst/vaapi/gstvaapitexture.h index 3259574..9d63f6f 100644 --- a/gst-libs/gst/vaapi/gstvaapitexture.h +++ b/gst-libs/gst/vaapi/gstvaapitexture.h @@ -25,7 +25,11 @@ #ifndef GST_VAAPI_TEXTURE_H #define GST_VAAPI_TEXTURE_H -#include +#ifdef HAVE_GL_GL_H +# include +#else +# include +#endif #include #include #include -- 2.7.4