diff --git a/lib/ESPAsyncUDP-master/src/AsyncUDP.cpp b/lib/ESPAsyncUDP-master/src/AsyncUDP.cpp index 2a538c4c6..9e433b1f4 100644 --- a/lib/ESPAsyncUDP-master/src/AsyncUDP.cpp +++ b/lib/ESPAsyncUDP-master/src/AsyncUDP.cpp @@ -1,3 +1,6 @@ +#include // Arduino_Esp8266 version information (ARDUINO_ESP8266_RELEASE and ARDUINO_ESP8266_RELEASE_2_3_0) +#ifndef ARDUINO_ESP8266_RELEASE_2_3_0 // This Library will only work with ARDUINO_ESP8266_RELEASE_2_4_0 and up + #include "Arduino.h" #include "ESPAsyncUDP.h" @@ -425,3 +428,5 @@ size_t AsyncUDP::broadcast(AsyncUDPMessage &message) } return broadcast(message.data(), message.length()); } + +#endif