summaryrefslogtreecommitdiff
path: root/drivers/bios_emulator/x86emu/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bios_emulator/x86emu/debug.c')
-rw-r--r--drivers/bios_emulator/x86emu/debug.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/bios_emulator/x86emu/debug.c b/drivers/bios_emulator/x86emu/debug.c
index 0f58a6963f..5cbcc95018 100644
--- a/drivers/bios_emulator/x86emu/debug.c
+++ b/drivers/bios_emulator/x86emu/debug.c
@@ -37,8 +37,12 @@
*
****************************************************************************/
-#include "x86emu/x86emui.h"
#include <stdarg.h>
+#include <common.h>
+
+#if defined(CONFIG_BIOSEMU)
+
+#include "x86emu/x86emui.h"
/*----------------------------- Implementation ----------------------------*/
@@ -459,3 +463,5 @@ void x86emu_dump_xregs(void)
printk("NC ");
printk("\n");
}
+
+#endif