summaryrefslogtreecommitdiff
path: root/drivers/bios_emulator/x86emu/sys.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bios_emulator/x86emu/sys.c')
-rw-r--r--drivers/bios_emulator/x86emu/sys.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/bios_emulator/x86emu/sys.c b/drivers/bios_emulator/x86emu/sys.c
index bb7fcd9..dd44ff1 100644
--- a/drivers/bios_emulator/x86emu/sys.c
+++ b/drivers/bios_emulator/x86emu/sys.c
@@ -39,6 +39,10 @@
*
****************************************************************************/
+#include <common.h>
+
+#if defined(CONFIG_BIOSEMU)
+
#include "x86emu/x86emui.h"
/*------------------------- Global Variables ------------------------------*/
@@ -320,3 +324,5 @@ void X86EMU_prepareForInt(int num)
M.x86.R_IP = mem_access_word(num * 4);
M.x86.intr = 0;
}
+
+#endif