summaryrefslogtreecommitdiff
path: root/drivers/bios_emulator/x86emu/sys.c
diff options
context:
space:
mode:
authorMichal Simek <Monstr@seznam.cz>2007-08-16 08:54:10 +0200
committerWolfgang Denk <wd@denx.de>2007-08-16 11:55:27 +0200
commit002275a3ed8b114885f6702d6d544d0780dfe689 (patch)
treedc2622e4db94f68769ef5b4bba07655ac42731bc /drivers/bios_emulator/x86emu/sys.c
parent2d78074d2e806edc380c1464eb9e5df335ece65e (diff)
Bios emulator - fix microblaze toolchain problem
microblaze CPU have problem with bios_emulator code. Microblaze toolchain doesn't support PRAGMA PACK. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'drivers/bios_emulator/x86emu/sys.c')
-rw-r--r--drivers/bios_emulator/x86emu/sys.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/bios_emulator/x86emu/sys.c b/drivers/bios_emulator/x86emu/sys.c
index 566389f5862..dd44ff1e738 100644
--- a/drivers/bios_emulator/x86emu/sys.c
+++ b/drivers/bios_emulator/x86emu/sys.c
@@ -39,10 +39,12 @@
*
****************************************************************************/
-#include "x86emu/x86emui.h"
+#include <common.h>
#if defined(CONFIG_BIOSEMU)
+#include "x86emu/x86emui.h"
+
/*------------------------- Global Variables ------------------------------*/
X86EMU_sysEnv _X86EMU_env; /* Global emulator machine state */