mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 05:24:53 +01:00
Fixes ip include on arduino 2.7.4 (#5620)
This commit is contained in:
parent
7cf056e828
commit
01a16141f1
1 changed files with 4 additions and 0 deletions
|
@ -3,7 +3,11 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <array>
|
#include <array>
|
||||||
|
#include "esphome/core/macros.h"
|
||||||
|
|
||||||
|
#if defined(USE_ESP_IDF) || defined(USE_LIBRETINY) || USE_ARDUINO_VERSION_CODE > VERSION_CODE(3, 0, 0)
|
||||||
#include <lwip/ip_addr.h>
|
#include <lwip/ip_addr.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if USE_ARDUINO
|
#if USE_ARDUINO
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
|
|
Loading…
Reference in a new issue