[FIX] Resolve problem with warnings
[oweals/u-boot.git] / drivers / bios_emulator / x86emu / debug.c
index 0f58a6963f2c43e75a979d122bc14a0a2a0db1e4..3acc7e5008ba2ce3dcf17d144b217b62c465cb5b 100644 (file)
 *
 ****************************************************************************/
 
-#include "x86emu/x86emui.h"
 #include <stdarg.h>
 
+#if defined(CONFIG_BIOSEMU)
+
+#include "x86emu/x86emui.h"
+
 /*----------------------------- Implementation ----------------------------*/
 
 #ifdef DEBUG
@@ -459,3 +462,5 @@ void x86emu_dump_xregs(void)
                printk("NC ");
        printk("\n");
 }
+
+#endif