From 31405c40f3a4cf58c9a472b62733bff59d21670d Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Sat, 21 Nov 2009 16:04:49 -0800 Subject: [PATCH] add dependency on HAVE_LIBDISPATCH --- lib/ipc/client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ipc/client.c b/lib/ipc/client.c index 20ae89a17..1573303c5 100644 --- a/lib/ipc/client.c +++ b/lib/ipc/client.c @@ -35,7 +35,7 @@ #include "hi_locl.h" -#ifdef __APPLE__ +#if defined(__APPLE__) && defined(HAVE_LIBDISPATCH) #include "heim_ipc.h" #include "heim_ipc_asyncServer.h" @@ -462,7 +462,7 @@ struct hipc_ops { }; struct hipc_ops ipcs[] = { -#ifdef __APPLE__ +#if defined(__APPLE__) && defined(HAVE_LIBDISPATCH) { "MACH", mach_init, mach_release, mach_ipc, mach_async }, #endif #ifdef HAVE_DOOR