summaryrefslogtreecommitdiff
path: root/sysutils/open-vm-tools/patches/patch-af
blob: 3146526904f4c8cbd6f22dc18c03c25b764b4dc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$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();