diff --git a/gst-libs/gst/vaapi/gstvaapicompat.h b/gst-libs/gst/vaapi/gstvaapicompat.h index 1ad47ef7d5..e17684fbd1 100644 --- a/gst-libs/gst/vaapi/gstvaapicompat.h +++ b/gst-libs/gst/vaapi/gstvaapicompat.h @@ -27,6 +27,9 @@ # include #else # include +# if !VA_CHECK_VERSION(0,30,4) +# include +# endif #endif #if USE_VAAPI_GLX