Skip to content

Commit

Permalink
feat: includes: included kerrno.h in rtdef.h
Browse files Browse the repository at this point in the history
Those definitions are presented in rtdef.h until PR RT-Thread#9461 moved them to
kerrno.h, which introduced unknown definition error for project building

Changes:

- Added includes of kerrno.h

Signed-off-by: Shell <[email protected]>
  • Loading branch information
polarvid committed Sep 25, 2024
1 parent b4d3006 commit b46cbe7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/rtdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@
#include "rtsched.h"
#include "rttypes.h"

#include "klibc/kerrno.h"

#ifdef __cplusplus
extern "C" {
#endif
Expand Down

0 comments on commit b46cbe7

Please sign in to comment.