From 89b908337dd785f888646aa7036c708d763f7df7 Mon Sep 17 00:00:00 2001 From: Gareth McMullin Date: Tue, 16 Apr 2013 12:36:19 -0700 Subject: [PATCH] Add missing #includes --- src/command.c | 4 ++++ src/stm32f4.c | 1 + 2 files changed, 5 insertions(+) diff --git a/src/command.c b/src/command.c index 46163fd0..e1ed837a 100644 --- a/src/command.c +++ b/src/command.c @@ -35,6 +35,10 @@ #include "adiv5.h" +#ifdef PLATFORM_HAS_TRACESWO +# include "traceswo.h" +#endif + static bool cmd_version(void); static bool cmd_help(target *t); diff --git a/src/stm32f4.c b/src/stm32f4.c index 67c44b84..b9764cc9 100644 --- a/src/stm32f4.c +++ b/src/stm32f4.c @@ -37,6 +37,7 @@ #include "adiv5.h" #include "target.h" #include "command.h" +#include "gdb_packet.h" static bool stm32f4_cmd_erase_mass(target *t); static bool stm32f4_cmd_option(target *t, int argc, char *argv[]);