diff --git a/components/esp8266/include/driver/uart.h b/components/esp8266/include/driver/uart.h index ed144cd5b..69b5919dd 100644 --- a/components/esp8266/include/driver/uart.h +++ b/components/esp8266/include/driver/uart.h @@ -23,6 +23,7 @@ extern "C" { #include #include "esp_err.h" #include "esp_log.h" +#include "freertos/FreeRTOS.h" #include "freertos/queue.h" #define UART_FIFO_LEN (128) /*!< Length of the hardware FIFO buffers */