$NetBSD: patch-am,v 1.1 2012/02/22 11:10:18 drochner Exp $

--- runtest.c.orig	2010-10-12 06:25:32.000000000 +0000
+++ runtest.c
@@ -3936,7 +3936,7 @@ thread_specific_data(void *private_data)
     return ((void *) Okay);
 }
 
-#if defined(linux) || defined(__sun) || defined(__APPLE_CC__)
+#if defined(linux) || defined(__sun) || defined(__APPLE_CC__) || defined(__NetBSD__)
 
 #include <pthread.h>
 
