$NetBSD: patch-ab,v 1.1.1.1 2008/04/09 20:36:38 agc Exp $

--- tombupnp/threadutil/src/ThreadPool.c	2008-03-01 22:48:51.000000000 +0000
+++ tombupnp/threadutil/src/ThreadPool.c	2008-03-21 20:18:54.000000000 +0000
@@ -370,7 +370,7 @@
     gettimeofday( &t, NULL );
 #if defined(WIN32)
     srand( ( unsigned int )(t.tv_usec/1000) + (unsigned int)ithread_get_current_thread_id(  ).p );
-#elif defined(__FreeBSD__) || defined (__APPLE__)
+#elif defined(__FreeBSD__) || defined (__APPLE__) || defined(__NetBSD__)
     srand( ( unsigned int )(t.tv_usec/1000) + (unsigned int)ithread_get_current_thread_id(  ) );
 #else
     srand( ( unsigned int )(t.tv_usec/1000) + ithread_get_current_thread_id(  ) );
