aboutsummaryrefslogtreecommitdiff
path: root/util/vgabios/helper_exec.c
diff options
context:
space:
mode:
authorLuc Verhaegen <libv@skynet.be>2009-05-27 11:39:16 +0000
committerLuc Verhaegen <libv@skynet.be>2009-05-27 11:39:16 +0000
commite6e899dde951823ebc9abf997a6af06debac82a3 (patch)
tree348450ad2317cfce4a79595063493a272c240003 /util/vgabios/helper_exec.c
parentbab4f92c8bdde168ad186c054967e36dc5477d10 (diff)
util/vgabios: build/warning fixes.
Signed-off-by: Luc Verhaegen <libv@skynet.be> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4312 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/vgabios/helper_exec.c')
-rw-r--r--util/vgabios/helper_exec.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/util/vgabios/helper_exec.c b/util/vgabios/helper_exec.c
index 8d18798c40..3ec2c2362b 100644
--- a/util/vgabios/helper_exec.c
+++ b/util/vgabios/helper_exec.c
@@ -15,9 +15,12 @@
* on PIO.
*/
#include <x86emu.h>
+#include "helper_exec.h"
#include "test.h"
-#include <asm/io.h>
+#include <sys/io.h>
#include <sys/time.h>
+#include <stdio.h>
+
int port_rep_inb(u16 port, u32 base, int d_f, u32 count);
u8 x_inb(u16 port);