]> git.sur5r.net Git - openocd/commitdiff
ETM: only include oocd_trace.h when tracing enabled.
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Wed, 9 Dec 2009 10:35:30 +0000 (10:35 +0000)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Wed, 9 Dec 2009 10:35:30 +0000 (10:35 +0000)
Fixes build issue on systems that do not have <termios.h>, eg native win32.

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
src/target/etm.c

index e0671d5039dda7cf427bd143ea958e76db057180..9cb647cbebff0096328a9df69566ea5e93c85be1 100644 (file)
 #include "arm_disassembler.h"
 #include "register.h"
 #include "etm_dummy.h"
+
+#if BUILD_OOCD_TRACE == 1
 #include "oocd_trace.h"
+#endif
 
 
 /*