aboutsummaryrefslogtreecommitdiff
path: root/target/i386/hax-i386.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/i386/hax-i386.h')
-rw-r--r--target/i386/hax-i386.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/i386/hax-i386.h b/target/i386/hax-i386.h
index bcbd105356..8ffe91fcb5 100644
--- a/target/i386/hax-i386.h
+++ b/target/i386/hax-i386.h
@@ -16,6 +16,10 @@
#include "cpu.h"
#include "sysemu/hax.h"
+#ifdef CONFIG_DARWIN
+typedef int hax_fd;
+#endif
+
#ifdef CONFIG_WIN32
typedef HANDLE hax_fd;
#endif
@@ -77,6 +81,10 @@ hax_fd hax_mod_open(void);
void hax_memory_init(void);
+#ifdef CONFIG_DARWIN
+#include "target/i386/hax-darwin.h"
+#endif
+
#ifdef CONFIG_WIN32
#include "target/i386/hax-windows.h"
#endif