From 50f7ec339a85ebe60390edc3c8cfb87bd2f57bc4 Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 7 Jan 2005 21:47:30 +0000 Subject: initial darwin --- src/libthread/threadimpl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libthread/threadimpl.h') 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; -- cgit v1.2.3