summaryrefslogtreecommitdiff
path: root/user/gc/fix-boehm-gc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/gc/fix-boehm-gc.patch')
-rw-r--r--user/gc/fix-boehm-gc.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/user/gc/fix-boehm-gc.patch b/user/gc/fix-boehm-gc.patch
new file mode 100644
index 000000000..6ac3870b0
--- /dev/null
+++ b/user/gc/fix-boehm-gc.patch
@@ -0,0 +1,10 @@
+--- 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. */