diff --git a/boot/zephyr/main.c b/boot/zephyr/main.c index 073f4d72..86c64327 100644 --- a/boot/zephyr/main.c +++ b/boot/zephyr/main.c @@ -27,6 +27,12 @@ #include #include +#if defined(CONFIG_CPU_AARCH32_CORTEX_A) || defined(CONFIG_CPU_AARCH32_CORTEX_R) +#include +#elif defined(CONFIG_CPU_CORTEX_M) +#include +#endif + #include "target.h" #include "bootutil/bootutil_log.h"