]> git.proxmox.com Git - ceph.git/blame - 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
CommitLineData
1e59de90
TL
1diff --git a/libarchive/archive_random.c b/libarchive/archive_random.c\r
2index 65ea691..63217ec 100644\r
3--- a/libarchive/archive_random.c\r
4+++ b/libarchive/archive_random.c\r
5@@ -48,6 +48,10 @@ __FBSDID("$FreeBSD$");\r
6 #include <sys/time.h>\r
7 #endif\r
8 #ifdef HAVE_PTHREAD_H\r
9+#ifdef __GNUC__\r
10+#define _GNU_SOURCE\r
11+#include <sched.h>\r
12+#endif\r
13 #include <pthread.h>\r
14 #endif\r
15 \r