From: Ivan Grokhotkov Date: Sun, 24 Sep 2017 07:46:59 +0000 (+0800) Subject: freertos: fix error when including xtensa-timer.h from other components X-Git-Tag: v3.1-dev~144^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=373d85dd9fd2b722ed06e55222ed764922ed4af0;p=esp-idf freertos: fix error when including xtensa-timer.h from other components --- diff --git a/components/freertos/include/freertos/xtensa_rtos.h b/components/freertos/include/freertos/xtensa_rtos.h index 980cc92e0d..e5982b83a5 100644 --- a/components/freertos/include/freertos/xtensa_rtos.h +++ b/components/freertos/include/freertos/xtensa_rtos.h @@ -55,7 +55,7 @@ Should be included by all Xtensa generic and RTOS port-specific sources. /* Include any RTOS specific definitions that are needed by this header. */ -#include +#include "FreeRTOSConfig.h" /* Convert FreeRTOSConfig definitions to XTENSA definitions. diff --git a/components/freertos/include/freertos/xtensa_timer.h b/components/freertos/include/freertos/xtensa_timer.h index 9bb8648f69..fa4f96098c 100644 --- a/components/freertos/include/freertos/xtensa_timer.h +++ b/components/freertos/include/freertos/xtensa_timer.h @@ -49,7 +49,7 @@ and the Xtensa core configuration need not have a timer. #include "xtensa_rtos.h" /* in case this wasn't included directly */ -#include +#include "FreeRTOSConfig.h" /* Select timer to use for periodic tick, and determine its interrupt number