$OpenBSD: patch-boehm-gc_include_gc_config_macros_h,v 1.1 2009/06/04 18:24:20 kurt Exp $
--- boehm-gc/include/gc_config_macros.h.orig	Thu Mar  5 17:41:35 2009
+++ boehm-gc/include/gc_config_macros.h	Thu Mar  5 17:42:12 2009
@@ -21,7 +21,8 @@
 	defined(GC_HPUX_THREADS) || defined(GC_OSF1_THREADS) || \
 	defined(GC_DGUX386_THREADS) || defined(GC_DARWIN_THREADS) || \
 	defined(GC_AIX_THREADS) || \
-        (defined(GC_WIN32_THREADS) && defined(__CYGWIN32__))
+        (defined(GC_WIN32_THREADS) && defined(__CYGWIN32__)) || \
+	defined(GC_OPENBSD_THREADS)
 #   define GC_PTHREADS
 # endif
 
@@ -49,6 +50,10 @@
 # endif
 # if defined(__APPLE__) && defined(__MACH__) && defined(__ppc__)
 #   define GC_DARWIN_THREADS
+#   define GC_PTHREADS
+# endif
+# if !defined(GC_PTHREADS) && defined(__OpenBSD__)
+#   define GC_OPENBSD_THREADS
 #   define GC_PTHREADS
 # endif
 # if !defined(GC_PTHREADS) && defined(__FreeBSD__)
