diff --git a/src/AsyncTCP.h b/src/AsyncTCP.h index 431785f..c1c4b8e 100644 --- a/src/AsyncTCP.h +++ b/src/AsyncTCP.h @@ -30,7 +30,9 @@ #include "IPAddress.h" #if ESP_IDF_VERSION_MAJOR < 5 - #include "IPv6Address.h" + #if defined(ESP32) +#include "IPv6Address.h" +#endif #endif #include "lwip/ip6_addr.h" #include "lwip/ip_addr.h"