$OpenBSD$
--- src/boehm-gc/include/gc_config_macros.h.orig	Mon Feb 13 18:14:18 2006
+++ src/boehm-gc/include/gc_config_macros.h	Sun Apr 30 15:56:55 2006
@@ -37,6 +37,9 @@
 #if defined(USE_LD_WRAP)
 # define GC_USE_LD_WRAP
 #endif
+#if defined(OPENBSD_THREADS)
+# define GC_OPENBSD_PTHREADS
+#endif
 
 #if !defined(_REENTRANT) && (defined(GC_SOLARIS_THREADS) \
 		             || defined(GC_SOLARIS_PTHREADS) \
@@ -56,6 +59,7 @@
 	defined(GC_IRIX_THREADS) || defined(GC_LINUX_THREADS) || \
 	defined(GC_HPUX_THREADS) || defined(GC_OSF1_THREADS) || \
 	defined(GC_DGUX386_THREADS) || defined(GC_DARWIN_THREADS) || \
+	defined(GC_OPENBSD_PTHREADS) || \
 	defined(GC_AIX_THREADS) || \
         (defined(GC_WIN32_THREADS) && defined(__CYGWIN32__))
 #   define GC_PTHREADS
@@ -97,6 +101,10 @@
 # endif
 # if defined(_AIX)
 #   define GC_AIX_THREADS
+#   define GC_PTHREADS
+# endif
+# if defined(__OpenBSD__)
+#   define GC_OPENBSD_PTHREADS
 #   define GC_PTHREADS
 # endif
 #endif /* GC_THREADS */
