Missing includes

This commit is contained in:
Jesse Hills 2025-07-07 17:33:05 +12:00
parent 66d96646b1
commit 5e2f8cb018
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A

View File

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