Skip to content

Commit

Permalink
arch: posix: add missing include for cpuhalt.c
Browse files Browse the repository at this point in the history
Add posix_board_if.h which declares posix_exit().

This fixes implicit declaration of function errors when running
sanitycheck on samples for native_posix that calls sys_reboot().

Signed-off-by: Mikkel Jakobsen <[email protected]>
  • Loading branch information
Mikkel Jakobsen authored and aescolar committed Oct 20, 2020
1 parent 966015f commit 8f2d69c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/posix/core/cpuhalt.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*/

#include "posix_core.h"
#include "posix_board_if.h"
#include <arch/posix/posix_soc_if.h>
#include <tracing/tracing.h>

Expand Down

0 comments on commit 8f2d69c

Please sign in to comment.