summary refs log tree commit diff stats
path: root/target/avr/gdbstub.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/avr/gdbstub.c')
-rw-r--r--target/avr/gdbstub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/avr/gdbstub.c b/target/avr/gdbstub.c
index 2eeee2bf4e..d6d3c1479b 100644
--- a/target/avr/gdbstub.c
+++ b/target/avr/gdbstub.c
@@ -20,6 +20,7 @@
 
 #include "qemu/osdep.h"
 #include "gdbstub/helpers.h"
+#include "cpu.h"
 
 int avr_cpu_gdb_read_register(CPUState *cs, GByteArray *mem_buf, int n)
 {