summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/target/etm.c3
1 files changed, 3 insertions, 0 deletions
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
/*