early-access version 2853
This commit is contained in:
15
externals/vcpkg/ports/libarchive/fix-cpu-set.patch
vendored
Executable file
15
externals/vcpkg/ports/libarchive/fix-cpu-set.patch
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
diff --git a/libarchive/archive_random.c b/libarchive/archive_random.c
|
||||
index 65ea691..63217ec 100644
|
||||
--- a/libarchive/archive_random.c
|
||||
+++ b/libarchive/archive_random.c
|
||||
@@ -48,6 +48,10 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
#ifdef HAVE_PTHREAD_H
|
||||
+#ifdef __GNUC__
|
||||
+#define _GNU_SOURCE
|
||||
+#include <sched.h>
|
||||
+#endif
|
||||
#include <pthread.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user