Skip to content

Commit e4b30c5

Browse files
committed
Add strings.h include for non-AVR platforms
Needed for strncasecmp on some platforms, like the ARC32
1 parent 78bb215 commit e4b30c5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/WiFiMdnsResponder.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2323

2424
#include <avr/pgmspace.h>
25+
#ifndef ARDUINO_ARCH_AVR
26+
#include <strings.h>
27+
#endif
2528

2629
#include "Arduino.h"
2730
#include "WiFiMdnsResponder.h"

0 commit comments

Comments
 (0)