Skip to content

Commit

Permalink
include: include exception.h in fatal.h
Browse files Browse the repository at this point in the history
`fatal.h` has 2 functions that use the `z_arch_esf_t` type.

Include `exception.h`, which should have the `z_arch_esf_t`
defined.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
  • Loading branch information
ycsin committed May 31, 2024
1 parent e1272dd commit f565070
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/zephyr/fatal.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#define ZEPHYR_INCLUDE_FATAL_H

#include <zephyr/arch/cpu.h>
#include <zephyr/arch/exception.h>
#include <zephyr/toolchain.h>
#include <zephyr/fatal_types.h>

Expand Down

0 comments on commit f565070

Please sign in to comment.