diff --git a/esphome/core/preferences.h b/esphome/core/preferences.h index 32f5256492..0574c757fb 100644 --- a/esphome/core/preferences.h +++ b/esphome/core/preferences.h @@ -7,6 +7,7 @@ #endif #include "esphome/core/esphal.h" +#include "esphome/core/defines.h" namespace esphome {