[code-quality] fix clang-tidy wake_on_lan (#7275)

This commit is contained in:
tomaszduda23
2024-08-14 04:08:10 +02:00
committed by GitHub
parent bec2d42c79
commit 56e05998ef
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -1,5 +1,6 @@
#pragma once
#include "esphome/core/defines.h"
#ifdef USE_NETWORK
#include "esphome/components/button/button.h"
#include "esphome/core/component.h"
#if defined(USE_SOCKET_IMPL_BSD_SOCKETS) || defined(USE_SOCKET_IMPL_LWIP_SOCKETS)
@@ -32,3 +33,4 @@ class WakeOnLanButton : public button::Button, public Component {
} // namespace wake_on_lan
} // namespace esphome
#endif