summaryrefslogtreecommitdiff
path: root/lang/mit-scheme/files/patch-microcode_uxtrap.h
blob: 39e863ec3cfe6a582ac52bb9612e80d1e9f33b65 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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