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