mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 17:27:59 +01:00
fix clang-tidy statsd
This commit is contained in:
parent
7ebaab8ec3
commit
35ee60264e
2 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include "statsd.h"
|
||||
|
||||
#ifdef USE_NETWORK
|
||||
namespace esphome {
|
||||
namespace statsd {
|
||||
|
||||
|
@ -154,3 +155,4 @@ void StatsdComponent::send_(std::string *out) {
|
|||
|
||||
} // namespace statsd
|
||||
} // namespace esphome
|
||||
#endif
|
|
@ -3,6 +3,7 @@
|
|||
#include <vector>
|
||||
|
||||
#include "esphome/core/defines.h"
|
||||
#ifdef USE_NETWORK
|
||||
#include "esphome/core/component.h"
|
||||
#include "esphome/components/socket/socket.h"
|
||||
#include "esphome/components/network/ip_address.h"
|
||||
|
@ -84,3 +85,4 @@ class StatsdComponent : public PollingComponent {
|
|||
|
||||
} // namespace statsd
|
||||
} // namespace esphome
|
||||
#endif
|
Loading…
Reference in a new issue