--- a/modules/codec/avcodec/vaapi.c +++ b/modules/codec/avcodec/vaapi.c @@ -34,6 +34,9 @@ #ifdef VLC_VA_BACKEND_XLIB # include # include +#if VA_MINOR_VERSION >= 34 +# include +#endif #endif #ifdef VLC_VA_BACKEND_DRM # include