mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-13 17:54:03 -09:00
mpv unconditionally uses pthread_getcpuclockid since version 0.33.0 andfd3caa264eresulting in the following build failure without NPTL since commite3cf26dda3: ../common/stats.c: In function 'get_thread_cpu_time_ns': ../common/stats.c:75:9: error: implicit declaration of function 'pthread_getcpuclockid'; did you mean 'pthread_getspecific'? [-Werror=implicit-function-declaration] 75 | if (pthread_getcpuclockid(thread, &id) == 0 && | ^~~~~~~~~~~~~~~~~~~~~ | pthread_getspecific Fixes: - http://autobuild.buildroot.org/results/98cde5cbb0844c6ef483a75cf9a6f3fd3a46c693 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit720a68e33b) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>