$NetBSD: patch-ah,v 1.3 2007/11/08 03:56:58 obache Exp $ --- threadutil/inc/ithread.h.orig 2007-11-06 01:46:41.000000000 +0000 +++ threadutil/inc/ithread.h @@ -45,7 +45,7 @@ extern "C" { #define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE #endif -#ifdef PTHREAD_MUTEX_RECURSIVE +#if defined(PTHREAD_MUTEX_RECURSIVE) || defined(__DragonFly__) /* This system has SuS2-compliant mutex attributes. * E.g. on Cygwin, where we don't have the old nonportable (NP) symbols */