Amit Shah wrote:
* On Tuesday 23 Sep 2008 21:43:44 Anthony Liguori wrote:
Amit Shah wrote:
Signed-off-by: Amit Shah <[EMAIL PROTECTED]>
---
 qemu/hw/isa.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/qemu/hw/isa.h b/qemu/hw/isa.h
index 222e4f3..e4a1326 100644
--- a/qemu/hw/isa.h
+++ b/qemu/hw/isa.h
@@ -2,6 +2,8 @@
 #define HW_ISA_H
 /* ISA bus */

+#include "hw.h"
+
 extern target_phys_addr_t isa_mem_base;

 int register_ioport_read(int start, int length, int size,
What compile issues?

register_ioport_read* and register_ioport_write* functions cause a lot of this.

You could also address this by including hw.h before including isa.h. Basically, everything should include "qemu-common.h" and anything that's implemented emulated hardware should include "hw.h" before including anything else. It's not perfect, but it's how things are right now.

Regards,

Anthony Liguori
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to