From 739a3013cddc2bf380c035085dcb23c29a6eafb1 Mon Sep 17 00:00:00 2001 From: lovyan03 <42724151+lovyan03@users.noreply.github.com> Date: Sun, 9 Jul 2023 22:11:58 +0900 Subject: [PATCH] fix compile error --- src/lgfx/v1/platforms/esp32/common.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lgfx/v1/platforms/esp32/common.cpp b/src/lgfx/v1/platforms/esp32/common.cpp index 0abad136..fd5abb56 100644 --- a/src/lgfx/v1/platforms/esp32/common.cpp +++ b/src/lgfx/v1/platforms/esp32/common.cpp @@ -61,6 +61,9 @@ Original Source: #endif #if defined (ESP_IDF_VERSION_VAL) + #if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 0, 0) + #include + #endif #if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(3, 4, 0) #if defined (ESP_ARDUINO_VERSION_VAL)