$NetBSD: patch-ae,v 1.1.1.1 2004/03/03 20:11:53 poppnk Exp $ --- vm/threadinfo.c.orig 2004-03-03 19:21:00.000000000 +0000 +++ vm/threadinfo.c 2004-03-03 19:21:16.000000000 +0000 @@ -57,8 +57,10 @@ pthread_mutexattr_t kind; pthread_mutexattr_init(&kind); +#if __linux__ pthread_mutexattr_setkind_np(&kind, PTHREAD_MUTEX_RECURSIVE_NP); #endif +#endif if (nnode == NULL) { return NULL;