diff --git a/esphome/core/application.h b/esphome/core/application.h index b642bf573d..c71b99b078 100644 --- a/esphome/core/application.h +++ b/esphome/core/application.h @@ -38,7 +38,9 @@ #endif #endif // USE_SOCKET_SELECT_SUPPORT #if defined(USE_ESP8266) && defined(USE_SOCKET_IMPL_LWIP_TCP) -#include "esphome/components/socket/socket.h" +namespace esphome::socket { +void socket_wake(); +} // namespace esphome::socket #endif #ifdef USE_BINARY_SENSOR