diff options
| author | rsc <devnull@localhost> | 2005-01-07 21:47:30 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2005-01-07 21:47:30 +0000 |
| commit | 50f7ec339a85ebe60390edc3c8cfb87bd2f57bc4 (patch) | |
| tree | aab8a650bbb8d14a85f0de151974fedcf77d28b3 /src/libthread/threadimpl.h | |
| parent | 1aa9c533e0778d9917cdb19f71e3bc7416e8d528 (diff) | |
initial darwin
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; |