summaryrefslogtreecommitdiff
path: root/cups/dest.c
diff options
context:
space:
mode:
authorMichael Sweet <michael.r.sweet@gmail.com>2017-09-05 17:03:10 -0400
committerMichael Sweet <michael.r.sweet@gmail.com>2017-09-05 17:03:10 -0400
commitb39dd420c6ecc6883567ab7dbe69394a45a829eb (patch)
tree2f65e9a336708b8bcc0a74c2e75082730e068011 /cups/dest.c
parent5614f45d775eb29794c63a2088d906e2c16bd8d7 (diff)
downloadcups-b39dd420c6ecc6883567ab7dbe69394a45a829eb.tar.gz
Fix builds without Bonjour/Avahi (Issue #5105)
Diffstat (limited to 'cups/dest.c')
-rw-r--r--cups/dest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cups/dest.c b/cups/dest.c
index 2a0e78546..4f6eee47f 100644
--- a/cups/dest.c
+++ b/cups/dest.c
@@ -63,6 +63,8 @@
#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI)
# define _CUPS_DNSSD_GET_DESTS 250 /* Milliseconds for cupsGetDests */
# define _CUPS_DNSSD_MAXTIME 50 /* Milliseconds for maximum quantum of time */
+#else
+# define _CUPS_DNSSD_GET_DESTS 0 /* Milliseconds for cupsGetDests */
#endif /* HAVE_DNSSD || HAVE_AVAHI */