$NetBSD: patch-ad,v 1.1 2006/02/26 20:38:52 joerg Exp $

--- libgc/include/gc_config_macros.h.orig	2005-07-23 23:22:58.000000000 +0000
+++ libgc/include/gc_config_macros.h
@@ -87,7 +87,7 @@
 #   define GC_DARWIN_THREADS
 #   define GC_PTHREADS
 # endif
-# if !defined(GC_PTHREADS) && defined(__FreeBSD__)
+# if !defined(GC_PTHREADS) && (defined(__FreeBSD__) || defined(__DragonFly__))
 #   define GC_FREEBSD_THREADS
 #   define GC_PTHREADS
 # endif
