diff --git a/esphome/core/preferences.h b/esphome/core/preferences.h index 32f525649..0574c757f 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 {