diff --git a/esphome/core/macros.h b/esphome/core/macros.h index ee53d20ad1..8b2383321b 100644 --- a/esphome/core/macros.h +++ b/esphome/core/macros.h @@ -2,3 +2,7 @@ // Helper macro to define a version code, whose value can be compared against other version codes. #define VERSION_CODE(major, minor, patch) ((major) << 16 | (minor) << 8 | (patch)) + +#ifdef USE_ARDUINO +#include +#endif