From 1104141d783ad930b30989b76770ec5afddda482 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 30 Jun 2009 21:13:09 +0200 Subject: [PATCH] reserve: fix build without D-Bus --- src/modules/reserve-wrap.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/reserve-wrap.c b/src/modules/reserve-wrap.c index 07b592d3..6086fc99 100644 --- a/src/modules/reserve-wrap.c +++ b/src/modules/reserve-wrap.c @@ -336,5 +336,9 @@ pa_bool_t pa_reserve_monitor_wrapper_busy(pa_reserve_monitor_wrapper *w) { pa_assert(PA_REFCNT_VALUE(w) >= 1); +#ifdef HAVE_DBUS return rm_busy(w->monitor) > 0; +#else + return FALSE; +#endif } -- 2.11.4.GIT