summaryrefslogtreecommitdiff
path: root/drivers/bios_emulator/x86emu/ops2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bios_emulator/x86emu/ops2.c')
-rw-r--r--drivers/bios_emulator/x86emu/ops2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/bios_emulator/x86emu/ops2.c b/drivers/bios_emulator/x86emu/ops2.c
index 631a340ed2..d6a210c973 100644
--- a/drivers/bios_emulator/x86emu/ops2.c
+++ b/drivers/bios_emulator/x86emu/ops2.c
@@ -44,6 +44,10 @@
*
****************************************************************************/
+#include <common.h>
+
+#if defined(CONFIG_BIOSEMU)
+
#include "x86emu/x86emui.h"
/*----------------------------- Implementation ----------------------------*/
@@ -1768,3 +1772,5 @@ void (*x86emu_optab2[256])(u8) __attribute__((section(".got2"))) =
/* 0xfe */ x86emuOp2_illegal_op,
/* 0xff */ x86emuOp2_illegal_op,
};
+
+#endif