aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu/nvmm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sysemu/nvmm.h')
-rw-r--r--include/sysemu/nvmm.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/sysemu/nvmm.h b/include/sysemu/nvmm.h
index 6d216599b0..833670fccb 100644
--- a/include/sysemu/nvmm.h
+++ b/include/sysemu/nvmm.h
@@ -10,8 +10,7 @@
#ifndef QEMU_NVMM_H
#define QEMU_NVMM_H
-#include "config-host.h"
-#include "qemu-common.h"
+#ifdef NEED_CPU_H
#ifdef CONFIG_NVMM
@@ -23,4 +22,6 @@ int nvmm_enabled(void);
#endif /* CONFIG_NVMM */
-#endif /* CONFIG_NVMM */
+#endif /* NEED_CPU_H */
+
+#endif /* QEMU_NVMM_H */