summaryrefslogtreecommitdiff
path: root/sysutils/open-vm-tools/patches/patch-ad
blob: 1dd1c3cca3f478de16b1d55482de0c434a38e9a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.2 2008/08/31 06:36:47 scottr Exp $

--- guestd/foreignVMToolsDaemon.h.orig	2008-08-08 02:01:56.000000000 -0500
+++ guestd/foreignVMToolsDaemon.h
@@ -59,7 +59,7 @@ VixError VIX_INIT_LOCK(VixLockType *lock
 
 #ifdef __APPLE__
 #define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
-#elif defined(__FreeBSD__) || defined(sun)
+#elif defined(__FreeBSD__) || defined(sun) || defined(__NetBSD__)
 #include <unistd.h>
 #define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
 #else