aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu/hax.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sysemu/hax.h')
-rw-r--r--include/sysemu/hax.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sysemu/hax.h b/include/sysemu/hax.h
index 12fb54f..247f066 100644
--- a/include/sysemu/hax.h
+++ b/include/sysemu/hax.h
@@ -24,6 +24,8 @@
int hax_sync_vcpus(void);
+#ifdef NEED_CPU_H
+
#ifdef CONFIG_HAX
int hax_enabled(void);
@@ -34,4 +36,6 @@ int hax_enabled(void);
#endif /* CONFIG_HAX */
+#endif /* NEED_CPU_H */
+
#endif /* QEMU_HAX_H */