Skip to content

Commit 37ef41c

Browse files
authored
mdns: #ifndef/#define/#endif (#7615)
1 parent cc042b9 commit 37ef41c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libraries/ESP8266mDNS/src/ESP8266mDNS.h

+5
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
4343
*/
4444

45+
#ifndef __ESP8266MDNS_H
46+
#define __ESP8266MDNS_H
47+
4548
enum class MDNSApiVersion { LEA, LEAv2 };
4649

4750
#include "LEAmDNS.h" // LEA
@@ -57,3 +60,5 @@ using MDNSResponder = esp8266::MDNSImplementation::MDNSResponder;
5760

5861
extern MDNSResponder MDNS;
5962
#endif
63+
64+
#endif // __ESP8266MDNS_H

0 commit comments

Comments
 (0)