summaryrefslogtreecommitdiff
path: root/lang/yarv/files/patch-gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/yarv/files/patch-gc.c')
-rw-r--r--lang/yarv/files/patch-gc.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/yarv/files/patch-gc.c b/lang/yarv/files/patch-gc.c
new file mode 100644
index 000000000000..bbd94a880004
--- /dev/null
+++ b/lang/yarv/files/patch-gc.c
@@ -0,0 +1,13 @@
+--- ./gc.c.orig Thu Apr 13 05:18:48 2006
++++ ./gc.c Thu Oct 19 13:56:46 2006
+@@ -34,6 +34,10 @@
+ #include <windows.h>
+ #endif
+
++#ifdef __ia64__
++#include <ucontext.h>
++#endif
++
+ int rb_io_fptr_finalize(struct OpenFile*);
+
+ #if !defined(setjmp) && defined(HAVE__SETJMP)