$OpenBSD: patch-mach_dep_c,v 1.4 2007/07/14 22:16:17 kili Exp $ --- mach_dep.c.orig Wed Jul 11 12:46:22 2007 +++ mach_dep.c Wed Jul 11 12:58:50 2007 @@ -159,7 +159,7 @@ void GC_push_regs() # undef HAVE_PUSH_REGS #endif -#if !defined(HAVE_PUSH_REGS) && defined(UNIX_LIKE) +#if !defined(HAVE_PUSH_REGS) && defined(UNIX_LIKE) && !defined(OPENBSD) # include #endif @@ -174,7 +174,7 @@ void GC_with_callee_saves_pushed(void (*fn)(ptr_t, voi # if defined(HAVE_PUSH_REGS) GC_push_regs(); -# elif defined(UNIX_LIKE) && !defined(DARWIN) && !defined(ARM32) +# elif defined(UNIX_LIKE) && !defined(DARWIN) && !defined(ARM32) && !defined(OPENBSD) /* Older versions of Darwin seem to lack getcontext(). */ /* ARM Linux often doesn't support a real getcontext(). */ ucontext_t ctxt;