diff --git a/src/HTTPConnection.hpp b/src/HTTPConnection.hpp index fb15d7a..052e681 100644 --- a/src/HTTPConnection.hpp +++ b/src/HTTPConnection.hpp @@ -6,7 +6,11 @@ #include #include +#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL (4, 4, 0) +#include +#else #include +#endif #include // Required for sockets