diff --git a/esphome/core/application.h b/esphome/core/application.h index 2db5b8d288..db5be1f7f7 100644 --- a/esphome/core/application.h +++ b/esphome/core/application.h @@ -10,6 +10,10 @@ #include "esphome/core/preferences.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