diff --git a/components/esp_hw_support/port/esp32/rtc_clk.c b/components/esp_hw_support/port/esp32/rtc_clk.c index dc20cd378c..b10eb6c518 100644 --- a/components/esp_hw_support/port/esp32/rtc_clk.c +++ b/components/esp_hw_support/port/esp32/rtc_clk.c @@ -29,6 +29,7 @@ #include "soc/gpio_struct.h" #include "hal/cpu_hal.h" #include "hal/gpio_ll.h" +#include "esp_rom_sys.h" #include "regi2c_ctrl.h" #include "soc_log.h" #include "sdkconfig.h" diff --git a/components/esp_hw_support/port/esp32s2/rtc_clk.c b/components/esp_hw_support/port/esp32s2/rtc_clk.c index 159f815298..937b5fd12c 100644 --- a/components/esp_hw_support/port/esp32s2/rtc_clk.c +++ b/components/esp_hw_support/port/esp32s2/rtc_clk.c @@ -27,6 +27,7 @@ #include "soc/dport_reg.h" #include "soc/efuse_reg.h" #include "soc/syscon_reg.h" +#include "esp_rom_sys.h" #include "regi2c_ctrl.h" #include "soc_log.h" #include "rtc_clk_common.h" diff --git a/components/esp_hw_support/port/esp32s3/rtc_clk.c b/components/esp_hw_support/port/esp32s3/rtc_clk.c index e847676f87..ec270a8c7f 100644 --- a/components/esp_hw_support/port/esp32s3/rtc_clk.c +++ b/components/esp_hw_support/port/esp32s3/rtc_clk.c @@ -28,6 +28,7 @@ #include "soc/efuse_reg.h" #include "soc/syscon_reg.h" #include "soc/system_reg.h" +#include "esp_rom_sys.h" #include "regi2c_ctrl.h" #include "soc_log.h" #include "rtc_clk_common.h"