Source: curl Version: 7.84.0-1 Severity: serious Tags: ftbfs patch upstream User: helm...@debian.org Usertags: rebootstrap
Hi, curl fails to build from source on architectures other than any-x86 and arm64 due to a missing #include <sched.h>. Please consider applying the attached patch to fix that. Helmut
--- curl-7.84.0.orig/lib/easy_lock.h +++ curl-7.84.0/lib/easy_lock.h @@ -37,6 +37,10 @@ #elif defined (HAVE_ATOMIC) #include <stdatomic.h> +#if !defined(__i386__) && !defined(__x86_64__) && !defined(__aarch64__) && defined(HAVE_SCHED_YIELD) +#include <sched.h> +#endif + #define curl_simple_lock atomic_bool #define CURL_SIMPLE_LOCK_INIT false