$NetBSD: patch-bf,v 1.1 2007/09/18 18:58:14 drochner Exp $

--- test/ttsafe_cancel.c.orig	2007-09-18 17:58:43.000000000 +0200
+++ test/ttsafe_cancel.c
@@ -73,6 +73,9 @@ void tts_cancel(void)
     hid_t dataset;
     int buffer;
 
+    pthread_mutex_init(&mutex, 0);
+    pthread_cond_init(&cond, 0);
+
     /* make thread scheduling global */
     pthread_attr_init(&attribute);
 #ifdef H5_HAVE_SYSTEM_SCOPE_THREADS
