diff --git a/esphome/core/application.h b/esphome/core/application.h index 343c883f19..66b9db5b7a 100644 --- a/esphome/core/application.h +++ b/esphome/core/application.h @@ -11,6 +11,10 @@ #include "esphome/core/runtime_stats.h" #include "esphome/core/scheduler.h" +#ifdef USE_SOCKET_SELECT_SUPPORT +#include +#endif + #ifdef USE_BINARY_SENSOR #include "esphome/components/binary_sensor/binary_sensor.h" #endif