- Fix building on ia64.

Reported by:	pointyhat
Approved by:	portmgr (erwin)
This commit is contained in:
Alejandro Pulver 2006-10-20 18:04:55 +00:00
parent 83cb399610
commit be9e08387e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=175436

View File

@ -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)