From 6c989cd68dee54edcf9f86c3a8750fac0bdf5049 Mon Sep 17 00:00:00 2001 From: Ben Levinsky Date: Wed, 9 Aug 2023 09:11:01 -0700 Subject: [PATCH] lib: system: freertos: Add metal/errno.h to match standalone As lib/system/generic/sys.h has metal/errno.h add this to the freertos equivalent. This fixes some compilation issues when linking against certain FreeRTOS port BSPs. Signed-off-by: Ben Levinsky --- lib/system/freertos/sys.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/system/freertos/sys.h b/lib/system/freertos/sys.h index 6e6d0be6..34b3617f 100644 --- a/lib/system/freertos/sys.h +++ b/lib/system/freertos/sys.h @@ -16,6 +16,8 @@ #ifndef __METAL_FREERTOS_SYS__H__ #define __METAL_FREERTOS_SYS__H__ +#include + #include "./@PROJECT_MACHINE@/sys.h" #ifdef __cplusplus