Skip to content

Commit 8d5dda0

Browse files
authored
emulation on host: fix for latest changes in DNSServer (#8559)
1 parent bcb5464 commit 8d5dda0

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

libraries/DNSServer/src/DNSServer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include "DNSServer.h"
33
#include <lwip/def.h>
44
#include <Arduino.h>
5-
#include <memory>
5+
66
extern struct rst_info resetInfo;
77

88
#ifdef DEBUG_ESP_PORT

libraries/DNSServer/src/DNSServer.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#ifndef DNSServer_h
22
#define DNSServer_h
3+
4+
#include <memory>
35
#include <WiFiUdp.h>
46

57
// #define DEBUG_DNSSERVER

tests/host/common/MockEsp.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636

3737
#include <stdlib.h>
3838

39+
#include <user_interface.h>
40+
struct rst_info resetInfo;
41+
3942
unsigned long long operator"" _kHz(unsigned long long x)
4043
{
4144
return x * 1000;

0 commit comments

Comments
 (0)