X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fbsd-os.h;h=4f72a66eaaf57da4b9203a3edb1c6cdad73f1c46;hb=2ffb42cdf6d95801c24460084e8b486c71b767c2;hp=6907482129d7125daf097c985b25049b9eb58e9a;hpb=8735f137435f1a90c05df67a03e48602a79572f8;p=sbcl.git diff --git a/src/runtime/bsd-os.h b/src/runtime/bsd-os.h index 6907482..4f72a66 100644 --- a/src/runtime/bsd-os.h +++ b/src/runtime/bsd-os.h @@ -84,8 +84,15 @@ typedef ucontext_t os_context_t; If Apple is going to break ucontext_t out of spite, I'm going to be cross with them ;) -- PRM */ +#if defined(LISP_FEATURE_X86) +#include +#include +typedef struct ucontext os_context_t; +#else #include typedef ucontext_t os_context_t; +#endif + #define SIG_MEMORY_FAULT SIGBUS #else