diff --git a/components/esp_rom/include/esp32/rom/uart.h b/components/esp_rom/include/esp32/rom/uart.h index 3bd0d38f48..f2fc8c8cbc 100644 --- a/components/esp_rom/include/esp32/rom/uart.h +++ b/components/esp_rom/include/esp32/rom/uart.h @@ -10,6 +10,7 @@ #include "ets_sys.h" #include "soc/soc.h" #include "soc/uart_periph.h" +#include "soc/uart_reg.h" #ifdef __cplusplus extern "C" {