diff options
Diffstat (limited to 'src/libthread/threadimpl.h')
-rw-r--r-- | src/libthread/threadimpl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h index bbf84736..0334fe30 100644 --- a/src/libthread/threadimpl.h +++ b/src/libthread/threadimpl.h @@ -16,6 +16,10 @@ extern int swapcontext(ucontext_t*, ucontext_t*); extern void makecontext(ucontext_t*, void(*)(), int, ...); #endif +#if defined(__APPLE__) +# include "Darwin-ucontext.h" +#endif + typedef struct Context Context; typedef struct Execjob Execjob; typedef struct Proc Proc; |