[Bug 259787] sched.h: unknown type name 'cpu_set_t' after 160b4b922b6021848b6b48afc894d16b879b7af2

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 13 Nov 2021 20:56:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259787

--- Comment #9 from tod.jackson@gmail.com ---
Can't test yet myself, but it looks like we can opt back in for example with
Ffmpeg like:

-#if HAVE_SCHED_GETAFFINITY && defined(CPU_COUNT)
+#if HAVE_SCHED_GETAFFINITY && defined(CPU_COUNT) && defined _WITH_CPU_SET_T

    cpu_set_t cpuset;

    CPU_ZERO(&cpuset);

Cool, doesn't seem too troublesome.

-- 
You are receiving this mail because:
You are on the CC list for the bug.