aboutsummaryrefslogtreecommitdiffstats
path: root/main/gc/fix-boehm-gc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/gc/fix-boehm-gc.patch')
-rw-r--r--main/gc/fix-boehm-gc.patch21
1 files changed, 10 insertions, 11 deletions
diff --git a/main/gc/fix-boehm-gc.patch b/main/gc/fix-boehm-gc.patch
index 88ffc99d79..6ac3870b02 100644
--- a/main/gc/fix-boehm-gc.patch
+++ b/main/gc/fix-boehm-gc.patch
@@ -1,11 +1,10 @@
---- gc-7.2.orig/os_dep.c
-+++ gc-7.2/os_dep.c
-@@ -26,7 +26,7 @@
- # define __KERNEL__
- # include <asm/signal.h>
- # undef __KERNEL__
--# else
-+# elif defined(__GLIBC__)
- /* Kernels prior to 2.1.1 defined struct sigcontext_struct instead of */
- /* struct sigcontext. libc6 (glibc2) uses "struct sigcontext" in */
- /* prototypes, so we have to include the top-level sigcontext.h to */
+--- gc-7.6.0.orig/pthread_stop_world.c
++++ gc-7.6.0/pthread_stop_world.c
+@@ -45,6 +45,7 @@
+ #include <semaphore.h>
+ #include <errno.h>
+ #include <unistd.h>
++#include <sys/select.h>
+ #include "atomic_ops.h"
+
+ /* It's safe to call original pthread_sigmask() here. */