diff options
author | Spencer Oliver <ntfreak@users.sourceforge.net> | 2009-12-09 10:35:30 +0000 |
---|---|---|
committer | Spencer Oliver <ntfreak@users.sourceforge.net> | 2009-12-09 10:35:30 +0000 |
commit | 26d7ed08f9ff220be583179fdea76466739cf32d (patch) | |
tree | efb0ca95b64432faad5c221c47fa6d171528a42c /src/target | |
parent | 733ced125ae5434818a50151b15f78fd5b514807 (diff) | |
download | openocd+libswd-26d7ed08f9ff220be583179fdea76466739cf32d.tar.gz openocd+libswd-26d7ed08f9ff220be583179fdea76466739cf32d.tar.bz2 openocd+libswd-26d7ed08f9ff220be583179fdea76466739cf32d.tar.xz openocd+libswd-26d7ed08f9ff220be583179fdea76466739cf32d.zip |
ETM: only include oocd_trace.h when tracing enabled.
Fixes build issue on systems that do not have <termios.h>, eg native win32.
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'src/target')
-rw-r--r-- | src/target/etm.c | 3 |
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 /* |