aboutsummaryrefslogtreecommitdiff
path: root/avahi-daemon/chroot.c
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-daemon/chroot.c')
-rw-r--r--avahi-daemon/chroot.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/avahi-daemon/chroot.c b/avahi-daemon/chroot.c
index ccd56be..c649bc1 100644
--- a/avahi-daemon/chroot.c
+++ b/avahi-daemon/chroot.c
@@ -81,8 +81,9 @@ static const char* const get_file_name_table[AVAHI_CHROOT_MAX] = {
static const char *const unlink_file_name_table[AVAHI_CHROOT_MAX] = {
NULL,
NULL,
- NULL,
+ NULL
#ifdef HAVE_DBUS
+ ,
NULL,
NULL,
NULL,
@@ -91,10 +92,16 @@ static const char *const unlink_file_name_table[AVAHI_CHROOT_MAX] = {
NULL,
NULL,
NULL,
- NULL,
+ NULL
+#endif
+#ifdef AVAHI_DAEMON_RUNTIME_DIR
+ ,
+ AVAHI_DAEMON_RUNTIME_DIR"/pid"
#endif
- AVAHI_DAEMON_RUNTIME_DIR"/pid",
+#ifdef AVAHI_SOCKET
+ ,
AVAHI_SOCKET
+#endif
};
static int helper_fd = -1;