mirror of
https://github.com/esphome/esphome.git
synced 2025-08-06 10:27:49 +00:00
Missing includes
This commit is contained in:
parent
66d96646b1
commit
5e2f8cb018
@ -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());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user