Skip to content

Commit 1862e0d

Browse files
committed
add missing includes to mDNS library
1 parent 1e94865 commit 1862e0d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

hardware/esp8266com/esp8266/libraries/ESP8266mDNS/ESP8266mDNS.cpp

+20
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,27 @@ License (MIT license):
3030
// - DNS request and response: http://www.ietf.org/rfc/rfc1035.txt
3131
// - Multicast DNS: http://www.ietf.org/rfc/rfc6762.txt
3232

33+
#define LWIP_INTERNAL
3334
#include "ESP8266mDNS.h"
35+
#include <functional>
36+
37+
extern "C"
38+
{
39+
#include "osapi.h"
40+
#include "ets_sys.h"
41+
}
42+
43+
#include "debug.h"
44+
45+
#include "WiFiUdp.h"
46+
#include "lwip/opt.h"
47+
#include "lwip/udp.h"
48+
#include "lwip/inet.h"
49+
#include "lwip/igmp.h"
50+
#include "lwip/mem.h"
51+
#include "include/UdpContext.h"
52+
53+
3454

3555

3656
// #define MDNS_DEBUG

0 commit comments

Comments
 (0)