summaryrefslogtreecommitdiffstats
path: root/util/x86emu/yabel/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/x86emu/yabel/debug.h')
-rw-r--r--util/x86emu/yabel/debug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/x86emu/yabel/debug.h b/util/x86emu/yabel/debug.h
index e9317a3ed3da..de44c36b761b 100644
--- a/util/x86emu/yabel/debug.h
+++ b/util/x86emu/yabel/debug.h
@@ -19,7 +19,11 @@ extern u32 debug_flags;
extern void x86emu_dump_xregs(void);
/* printf is not available in coreboot... use printk */
+#if COREBOOT_V2
+#include <console/console.h>
+#else
#include <console.h>
+#endif
/* uurgs... yuck... x86emu/x86emu.h is redefining printk... we include it here
* and use its redefinition of printk
* TODO: FIX!!!! */