$NetBSD: patch-af,v 1.1.1.1 2007/10/17 21:35:53 agc Exp $

--- lib/user/util.c	2007/09/28 19:02:18	1.1
+++ lib/user/util.c	2007/09/28 19:04:12
@@ -575,7 +575,7 @@
    tid = getpid();
    ASSERT(tid != (pid_t)-1);
    return tid;
-#elif __FreeBSD__ || sun
+#elif __FreeBSD__ || sun || __NetBSD__
    pid_t tid;
 
    tid = getpid();
