From 93993ad7606dc5cf786cc693cce803828e0ce0a1 Mon Sep 17 00:00:00 2001 From: Alexander Entinger Date: Mon, 23 Nov 2020 10:04:48 +0100 Subject: [PATCH] Disable '' when not compiling for an AVR based board in order to allow ArduinoCore-API integration into ArduinoCore-samd for MKR1000 --- src/WiFiMDNSResponder.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/WiFiMDNSResponder.cpp b/src/WiFiMDNSResponder.cpp index acb69a10..60800aa1 100644 --- a/src/WiFiMDNSResponder.cpp +++ b/src/WiFiMDNSResponder.cpp @@ -21,7 +21,9 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +#ifdef ARDUINO_ARCH_AVR #include +#endif #ifndef __AVR__ #include #endif