diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2020-05-23 18:19:05 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2020-05-23 18:19:05 +0200 |
| commit | 2a51790c7238a705367ed1e2a498e402dcc0169a (patch) | |
| tree | 47b85c07854807d6b2e6f6d39aaa29fa03b62d88 | |
| parent | 9757ce312de4c425567c2fcc55991ab5828773cd (diff) | |
| download | gdbstub-2a51790c7238a705367ed1e2a498e402dcc0169a.tar.gz | |
Added needed includes when DEBUG is used
| -rw-r--r-- | gdbstub.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -28,6 +28,11 @@ #define DEBUG 0 #endif +#if DEBUG +#include <stdio.h> +#include <stdlib.h> +#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 |
