From bf30580330d31b2da55cdfbe52b0bfaec77bce2f Mon Sep 17 00:00:00 2001 From: Rafael Silva Date: Mon, 25 Jul 2022 22:35:37 +0100 Subject: [PATCH] target/adiv5: add missing include in hosted build Signed-off-by: Rafael Silva --- src/target/adiv5.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/target/adiv5.h b/src/target/adiv5.h index 2d6547e..7e162db 100644 --- a/src/target/adiv5.h +++ b/src/target/adiv5.h @@ -23,6 +23,10 @@ #include "jtag_scan.h" +#if PC_HOSTED == 1 +#include "platform.h" +#endif + #define ADIV5_APnDP 0x100U #define ADIV5_DP_REG(x) (x) #define ADIV5_AP_REG(x) (ADIV5_APnDP | (x))