From: Spencer Oliver Date: Wed, 9 Dec 2009 10:35:30 +0000 (+0000) Subject: ETM: only include oocd_trace.h when tracing enabled. X-Git-Tag: v0.4.0-rc1~67 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=26d7ed08f9ff220be583179fdea76466739cf32d;p=openocd 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 --- 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 /*