From f08810b202ec20bf2119f51ff92417376d660e29 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 24 Feb 2021 17:04:14 +0100 Subject: [PATCH] output/snapcast: add missing #ifdef HAVE_ZEROCONF --- src/output/plugins/snapcast/SnapcastOutputPlugin.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/output/plugins/snapcast/SnapcastOutputPlugin.cxx b/src/output/plugins/snapcast/SnapcastOutputPlugin.cxx index c62343471..88e0ec571 100644 --- a/src/output/plugins/snapcast/SnapcastOutputPlugin.cxx +++ b/src/output/plugins/snapcast/SnapcastOutputPlugin.cxx @@ -90,7 +90,9 @@ SnapcastOutput::Unbind() noexcept assert(!open); BlockingCall(GetEventLoop(), [this](){ +#ifdef HAVE_ZEROCONF zeroconf_helper.reset(); +#endif ServerSocket::Close(); });