diff options
Diffstat (limited to 'lang/mit-scheme/files/patch-microcode_uxtrap.h')
-rw-r--r-- | lang/mit-scheme/files/patch-microcode_uxtrap.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lang/mit-scheme/files/patch-microcode_uxtrap.h b/lang/mit-scheme/files/patch-microcode_uxtrap.h new file mode 100644 index 000000000000..39e863ec3cfe --- /dev/null +++ b/lang/mit-scheme/files/patch-microcode_uxtrap.h @@ -0,0 +1,20 @@ + +$FreeBSD$ + +--- microcode/uxtrap.h.orig ++++ microcode/uxtrap.h +@@ -413,6 +413,14 @@ + + #endif /* __IA32__ */ + ++#ifdef __x86_64__ ++ ++#if defined(__FreeBSD__) ++# include <ucontext.h> ++#endif ++ ++#endif /* __x86_64__ */ ++ + #ifdef __alpha + + #define HAVE_SIGCONTEXT |