small fix

This commit is contained in:
Tomasz Duda 2024-08-15 09:32:02 +02:00
parent 16bb0d4136
commit 78bbb62bf8
2 changed files with 2 additions and 4 deletions

View file

@ -27,9 +27,7 @@
#define MD5_CTX_TYPE LT_MD5_CTX_T #define MD5_CTX_TYPE LT_MD5_CTX_T
#endif #endif
#if defined(USE_ZEPHYR) #ifndef USE_ZEPHYR
#define MD5_CTX_TYPE void *
#endif
namespace esphome { namespace esphome {
namespace md5 { namespace md5 {
@ -70,3 +68,4 @@ class MD5Digest {
} // namespace md5 } // namespace md5
} // namespace esphome } // namespace esphome
#endif

View file

@ -5,7 +5,6 @@
#include <utility> #include <utility>
#include "esphome/components/web_server_base/web_server_base.h" #include "esphome/components/web_server_base/web_server_base.h"
#ifdef USE_NETWORK
#include "esphome/core/component.h" #include "esphome/core/component.h"
#include "esphome/core/controller.h" #include "esphome/core/controller.h"
#include "esphome/core/entity_base.h" #include "esphome/core/entity_base.h"