From: Zachary T Welch <[email protected]> It is an error to require other headers to be included first, so declare what we can (struct declarations) and include the rest (Jim types).
Signed-off-by: Zachary T Welch <[email protected]> --- src/target/target_type.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/target/target_type.h b/src/target/target_type.h index 9a0709d..7504b02 100644 --- a/src/target/target_type.h +++ b/src/target/target_type.h @@ -27,8 +27,15 @@ #define TARGET_TYPE_H #include "types.h" +#include "jim.h" struct target; +struct reg; +struct reg_param; +struct mem_param; +struct breakpoint; +struct watchpoint; +struct command_context; /** * This holds methods shared between all instances of a given target -- 1.6.4.4 _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
