diff --git a/components/spi_flash/flash_ops.c b/components/spi_flash/flash_ops.c index c5354d1472..bbc65e4ca1 100644 --- a/components/spi_flash/flash_ops.c +++ b/components/spi_flash/flash_ops.c @@ -30,6 +30,7 @@ #include "esp_attr.h" #include "esp_spi_flash.h" #include "esp_log.h" +#include "esp_clk.h" #include "cache_utils.h" /* bytes erased by SPIEraseBlock() ROM function */