Skip to content

Commit

Permalink
Fix the build on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
griff committed May 2, 2019
1 parent f045553 commit f21b5fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mdns.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ 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;
#endif

#ifdef CONFIG_EXTERNAL_MDNS
extern mdns_backend mdns_external_avahi;
extern mdns_backend mdns_external_dns_sd;
#endif

static mdns_backend *mdns_backends[] = {
Expand All @@ -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};

Expand Down

0 comments on commit f21b5fa

Please sign in to comment.