From 2a51790c7238a705367ed1e2a498e402dcc0169a Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sat, 23 May 2020 18:19:05 +0200 Subject: Added needed includes when DEBUG is used --- gdbstub.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gdbstub.h b/gdbstub.h index 9c7b505..95f80f1 100644 --- a/gdbstub.h +++ b/gdbstub.h @@ -28,6 +28,11 @@ #define DEBUG 0 #endif +#if DEBUG +#include +#include +#endif + /* Include platform specific definitions */ #include "gdbstub_sys.h" @@ -80,4 +85,4 @@ int dbg_sys_mem_writeb(address addr, char val); int dbg_sys_continue(); int dbg_sys_step(); -#endif \ No newline at end of file +#endif -- cgit v1.2.3