elFarto / nvidia-vaapi-driver

A VA-API implemention using NVIDIA's NVDEC
Other
1.2k stars 56 forks source link

Fix building with musl #273

Closed winterheart closed 7 months ago

winterheart commented 7 months ago

qsort_r invocations uses __compar_d_fn_t typedef that defined only in glibc. Added missing typedef to fix compilation on musl systems.

See: https://bugs.gentoo.org/924146

elFarto commented 7 months ago

Thanks for the fix!