aboutsummaryrefslogtreecommitdiffstats
path: root/src/zeroconf.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/zeroconf.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/zeroconf.h b/src/zeroconf.h
index ef7167d53..56141655f 100644
--- a/src/zeroconf.h
+++ b/src/zeroconf.h
@@ -21,7 +21,16 @@
#include "../config.h"
+#ifdef HAVE_ZEROCONF
+
void initZeroconf(void);
void finishZeroconf(void);
+#else /* ! HAVE_ZEROCONF */
+
+static void initZeroconf(void) { }
+static void finishZeroconf(void) { }
+
+#endif /* ! HAVE_ZEROCONF */
+
#endif