]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/libarchive/fix-cpu-set.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / libarchive / fix-cpu-set.patch
1 diff --git a/libarchive/archive_random.c b/libarchive/archive_random.c
2 index 65ea691..63217ec 100644
3 --- a/libarchive/archive_random.c
4 +++ b/libarchive/archive_random.c
5 @@ -48,6 +48,10 @@ __FBSDID("$FreeBSD$");
6 #include <sys/time.h>
7 #endif
8 #ifdef HAVE_PTHREAD_H
9 +#ifdef __GNUC__
10 +#define _GNU_SOURCE
11 +#include <sched.h>
12 +#endif
13 #include <pthread.h>
14 #endif
15