From c356a38c89cbc73510734780a574911dc043da07 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/system/freertos/sys.h b/lib/system/freertos/sys.h index 6e6d0be6..680e858c 100644 --- a/lib/system/freertos/sys.h +++ b/lib/system/freertos/sys.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2016, Xilinx Inc. and Contributors. All rights reserved. + * Copyright (c) 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -16,6 +17,8 @@ #ifndef __METAL_FREERTOS_SYS__H__ #define __METAL_FREERTOS_SYS__H__ +#include + #include "./@PROJECT_MACHINE@/sys.h" #ifdef __cplusplus