From 3f36b4ad6815e2e5ebda61d1b5130e979166872b Mon Sep 17 00:00:00 2001 From: David Mulder Date: Wed, 10 Aug 2016 16:17:55 -0600 Subject: [PATCH] On hpux, pthread_cond_t is undefined when pthread is disabled --- lib/ipc/common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ipc/common.c b/lib/ipc/common.c index 0e8f36dd2..bbe2df490 100644 --- a/lib/ipc/common.c +++ b/lib/ipc/common.c @@ -94,7 +94,9 @@ _heim_ipc_create_cred(uid_t uid, gid_t gid, pid_t pid, pid_t session, heim_icred #ifndef HAVE_GCD struct heim_isemaphore { HEIMDAL_MUTEX mutex; +#ifdef ENABLE_PTHREAD_SUPPORT pthread_cond_t cond; +#endif long counter; }; #endif