X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fdarwin-os.h;h=2a7a405dbba0cb452e29df58f03d2dacada89db8;hb=7a0f4c68d94ff6c9a54c7605b6fd3cd8125c1c8c;hp=bc39a33a00d9c69552068dae9092bd471298388f;hpb=127fd3d2fb843c6bb7ad0763e143d81877e760e8;p=sbcl.git diff --git a/src/runtime/darwin-os.h b/src/runtime/darwin-os.h index bc39a33..2a7a405 100644 --- a/src/runtime/darwin-os.h +++ b/src/runtime/darwin-os.h @@ -5,6 +5,7 @@ #include #include +#include /* man pages claim that the third argument is a sigcontext struct, but ucontext_t is defined, matches sigcontext where sensible, @@ -16,7 +17,7 @@ #if defined(LISP_FEATURE_X86) #include #include -#if __DARWIN_UNIX03 +#ifdef MAC_OS_X_VERSION_10_5 typedef struct __darwin_ucontext os_context_t; #else typedef struct ucontext os_context_t;