diff --git a/esphome/components/api/api_pb2_includes.h b/esphome/components/api/api_pb2_includes.h index d165956b23..ad1a906f0c 100644 --- a/esphome/components/api/api_pb2_includes.h +++ b/esphome/components/api/api_pb2_includes.h @@ -1,5 +1,7 @@ #pragma once +#include "esphome/core/defines.h" + // This file provides includes needed by the generated protobuf code // when using pointer optimizations for component-specific types @@ -28,3 +30,9 @@ #include #include #include + +namespace esphome::api { + +// This file only provides includes, no actual code + +} // namespace esphome::api