$OpenBSD: patch-boehm-gc_mach_dep_c,v 1.1.1.1 2009/06/22 22:37:32 sthen Exp $
--- boehm-gc/mach_dep.c.orig	Mon Mar 16 17:49:33 2009
+++ boehm-gc/mach_dep.c	Mon Mar 16 17:51:42 2009
@@ -27,7 +27,7 @@
 #   endif
 # endif
 
-#if defined(RS6000) || defined(POWERPC)
+#if (defined(RS6000) || defined(POWERPC)) && !defined(OPENBSD)
 # include <ucontext.h>
 #endif
 
@@ -417,7 +417,7 @@ ptr_t arg;
         /* the stack.						*/
         __builtin_unwind_init();
 #     else /* !HAVE_BUILTIN_UNWIND_INIT */
-#      if defined(RS6000) || defined(POWERPC)
+#      if (defined(RS6000) || defined(POWERPC)) && !defined(OPENBSD)
 	/* FIXME: RS6000 means AIX.				*/
         /* This should probably be used in all Posix/non-gcc	*/
         /* settings.  We defer that change to minimize risk.	*/
