From f21b5faf52548a16b4964413eb9e8036e2ff0b35 Mon Sep 17 00:00:00 2001 From: Brian Olsen Date: Thu, 2 May 2019 17:12:35 +0200 Subject: [PATCH] Fix the build on macOS --- mdns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mdns.c b/mdns.c index 8550f520f..0e305c001 100644 --- a/mdns.c +++ b/mdns.c @@ -37,7 +37,6 @@ extern mdns_backend mdns_avahi; #endif #ifdef CONFIG_DNS_SD extern mdns_backend mdns_dns_sd; -extern mdns_backend mdns_external_dns_sd; #endif #ifdef CONFIG_TINYSVCMDNS extern mdns_backend mdns_tinysvcmdns; @@ -45,6 +44,7 @@ extern mdns_backend mdns_tinysvcmdns; #ifdef CONFIG_EXTERNAL_MDNS extern mdns_backend mdns_external_avahi; +extern mdns_backend mdns_external_dns_sd; #endif static mdns_backend *mdns_backends[] = { @@ -53,13 +53,13 @@ static mdns_backend *mdns_backends[] = { #endif #ifdef CONFIG_DNS_SD &mdns_dns_sd, - &mdns_external_dns_sd, #endif #ifdef CONFIG_TINYSVCMDNS &mdns_tinysvcmdns, #endif #ifdef CONFIG_EXTERNAL_MDNS &mdns_external_avahi, + &mdns_external_dns_sd, #endif NULL};