summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpu-exec.c2
-rw-r--r--target-i386/hax-all.c2
-rw-r--r--target-i386/hax-i386.h1
3 files changed, 5 insertions, 0 deletions
diff --git a/cpu-exec.c b/cpu-exec.c
index 87c6764bc8..b7d0c6990d 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -34,6 +34,8 @@
#endif
#include "sysemu/replay.h"
+#include "sysemu/hax.h"
+
/* -icount align implementation. */
typedef struct SyncClocks {
diff --git a/target-i386/hax-all.c b/target-i386/hax-all.c
index 10fec180a3..77945f07dc 100644
--- a/target-i386/hax-all.c
+++ b/target-i386/hax-all.c
@@ -27,6 +27,8 @@
#include "strings.h"
#include "hax-i386.h"
#include "hax-slot.h"
+#include "exec/exec-all.h"
+#include "exec/ioport.h"
#include "hw/boards.h"
#include "sysemu/accel.h"
#include "exec/address-spaces.h"
diff --git a/target-i386/hax-i386.h b/target-i386/hax-i386.h
index e00c5b23c3..4191c0fc3b 100644
--- a/target-i386/hax-i386.h
+++ b/target-i386/hax-i386.h
@@ -14,6 +14,7 @@
//#include "android/utils/debug.h"
#include "sysemu/hax.h"
+#include "cpu.h"
#ifdef CONFIG_DARWIN
typedef int hax_fd;