diff --git a/FreeRTOS-Plus/WindowSimulator/mbedtls_port/mbedtls_freertos_port.c b/FreeRTOS-Plus/WindowSimulator/mbedtls_port/mbedtls_freertos_port.c index 38d7689517..6c94632d08 100644 --- a/FreeRTOS-Plus/WindowSimulator/mbedtls_port/mbedtls_freertos_port.c +++ b/FreeRTOS-Plus/WindowSimulator/mbedtls_port/mbedtls_freertos_port.c @@ -28,6 +28,8 @@ #include #include +#include "FreeRTOSConfig.h" + /* FreeRTOS includes. */ #include "FreeRTOS.h" #include "semphr.h" @@ -111,7 +113,7 @@ static void mbedtls_platform_mutex_init( mbedtls_threading_mutex_t * pMutex ) * storage is provided. */ pMutex->mutexHandle = xSemaphoreCreateMutexStatic( &( pMutex->mutexStorage ) ); - #elif( configSUPPORT_DYNAMIC ALLOCATION == 1 ) + #elif( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) pMutex->mutexHandle = xSemaphoreCreateMutex(); #endif