Skip to content

Commit

Permalink
emulation on host: fix for latest changes in DNSServer (esp8266#8559)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-a-v authored May 10, 2022
1 parent bcb5464 commit 8d5dda0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/DNSServer/src/DNSServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include "DNSServer.h"
#include <lwip/def.h>
#include <Arduino.h>
#include <memory>

extern struct rst_info resetInfo;

#ifdef DEBUG_ESP_PORT
Expand Down
2 changes: 2 additions & 0 deletions libraries/DNSServer/src/DNSServer.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#ifndef DNSServer_h
#define DNSServer_h

#include <memory>
#include <WiFiUdp.h>

// #define DEBUG_DNSSERVER
Expand Down
3 changes: 3 additions & 0 deletions tests/host/common/MockEsp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@

#include <stdlib.h>

#include <user_interface.h>
struct rst_info resetInfo;

unsigned long long operator"" _kHz(unsigned long long x)
{
return x * 1000;
Expand Down

0 comments on commit 8d5dda0

Please sign in to comment.