From 10339700e49cc1c5e103a72fe61fdb3777535849 Mon Sep 17 00:00:00 2001 From: Pankaj Garg Date: Mon, 26 Oct 2020 08:56:38 -0700 Subject: [PATCH] Fix Darwin build for missing mDNS impl (#3440) --- .../platform/internal/GenericPlatformManagerImpl_POSIX.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/include/platform/internal/GenericPlatformManagerImpl_POSIX.cpp b/src/include/platform/internal/GenericPlatformManagerImpl_POSIX.cpp index de7512063a3de3..b79525985f72bc 100644 --- a/src/include/platform/internal/GenericPlatformManagerImpl_POSIX.cpp +++ b/src/include/platform/internal/GenericPlatformManagerImpl_POSIX.cpp @@ -30,7 +30,9 @@ // Include the non-inline definitions for the GenericPlatformManagerImpl<> template, // from which the GenericPlatformManagerImpl_POSIX<> template inherits. +#if CHIP_ENABLE_MDNS #include +#endif #include #include