1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

emulation on host: fix for latest changes in DNSServer (#8559)

This commit is contained in:
david gauchard 2022-05-10 19:31:12 +02:00 committed by GitHub
parent bcb5464167
commit 8d5dda02f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -1,5 +1,7 @@
#ifndef DNSServer_h
#define DNSServer_h
#include <memory>
#include <WiFiUdp.h>
// #define DEBUG_DNSSERVER

View File

@ -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;