From 26d7ed08f9ff220be583179fdea76466739cf32d Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Wed, 9 Dec 2009 10:35:30 +0000 Subject: [PATCH] ETM: only include oocd_trace.h when tracing enabled. Fixes build issue on systems that do not have , eg native win32. Signed-off-by: Spencer Oliver --- src/target/etm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/target/etm.c b/src/target/etm.c index e0671d50..9cb647cb 100644 --- a/src/target/etm.c +++ b/src/target/etm.c @@ -28,7 +28,10 @@ #include "arm_disassembler.h" #include "register.h" #include "etm_dummy.h" + +#if BUILD_OOCD_TRACE == 1 #include "oocd_trace.h" +#endif /* -- 2.39.5