1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-19 19:52:20 +01:00

Missing includes

This commit is contained in:
Jesse Hills
2025-07-07 17:33:05 +12:00
parent 66d96646b1
commit 5e2f8cb018

View File

@@ -11,8 +11,13 @@
#include <limits> #include <limits>
#include <random> #include <random>
#include "esphome/core/defines.h"
#include "esphome/core/log.h"
namespace esphome { namespace esphome {
static const char *const TAG = "helpers.host";
uint32_t random_uint32() { uint32_t random_uint32() {
std::random_device dev; std::random_device dev;
std::mt19937 rng(dev()); std::mt19937 rng(dev());