opnsense-ports/lang/mit-scheme/files/patch-microcode_uxtrap.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

20 lines
266 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

$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