Skip to content

Commit

Permalink
lib: system: freertos: Add metal/errno.h to match standalone
Browse files Browse the repository at this point in the history
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 <ben.levinsky@amd.com>
  • Loading branch information
bentheredonethat committed Aug 9, 2023
1 parent 6fb9f45 commit 6c989cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/system/freertos/sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
#ifndef __METAL_FREERTOS_SYS__H__
#define __METAL_FREERTOS_SYS__H__

#include <metal/errno.h>

#include "./@PROJECT_MACHINE@/sys.h"

#ifdef __cplusplus
Expand Down

0 comments on commit 6c989cd

Please sign in to comment.