summaryrefslogtreecommitdiff
path: root/include/disas/disas.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/disas/disas.h')
-rw-r--r--include/disas/disas.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/disas/disas.h b/include/disas/disas.h
index 2b9293b62a..e549ca24a1 100644
--- a/include/disas/disas.h
+++ b/include/disas/disas.h
@@ -1,9 +1,11 @@
-#ifndef _QEMU_DISAS_H
-#define _QEMU_DISAS_H
+#ifndef QEMU_DISAS_H
+#define QEMU_DISAS_H
#include "qemu-common.h"
#ifdef NEED_CPU_H
+#include "cpu.h"
+
/* Disassemble this for me please... (debugging). */
void disas(FILE *out, void *code, unsigned long size);
void target_disas(FILE *out, CPUState *cpu, target_ulong code,
@@ -40,4 +42,4 @@ struct syminfo {
/* Filled in by elfload.c. Simplistic, but will do for now. */
extern struct syminfo *syminfos;
-#endif /* _QEMU_DISAS_H */
+#endif /* QEMU_DISAS_H */