diff --git a/src/AsyncTCP.cpp b/src/AsyncTCP.cpp index 4b61573..a20151a 100644 --- a/src/AsyncTCP.cpp +++ b/src/AsyncTCP.cpp @@ -33,6 +33,12 @@ extern "C"{ #include "esp_task_wdt.h" #endif +// Required for: +// https://github.com/espressif/arduino-esp32/blob/3.0.3/libraries/Network/src/NetworkInterface.cpp#L37-L47 +#if ESP_IDF_VERSION_MAJOR >= 5 +#include +#endif + /* * TCP/IP Event Task * */ diff --git a/src/AsyncTCP.h b/src/AsyncTCP.h index c6cf761..eb9c769 100644 --- a/src/AsyncTCP.h +++ b/src/AsyncTCP.h @@ -22,10 +22,10 @@ #ifndef ASYNCTCP_H_ #define ASYNCTCP_H_ -#define ASYNCTCP_VERSION "3.2.1" +#define ASYNCTCP_VERSION "3.2.2" #define ASYNCTCP_VERSION_MAJOR 3 #define ASYNCTCP_VERSION_MINOR 2 -#define ASYNCTCP_VERSION_REVISION 1 +#define ASYNCTCP_VERSION_REVISION 2 #define ASYNCTCP_FORK_mathieucarbou #include "IPAddress.h"