[PATCH] Fix compilation of int10 module on arm

Hans de Goede hdegoede at redhat.com
Fri Apr 25 01:08:11 PDT 2014


Signed-off-by: Hans de Goede <hdegoede at redhat.com>
---
 hw/xfree86/int10/xf86x86emu.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/hw/xfree86/int10/xf86x86emu.c b/hw/xfree86/int10/xf86x86emu.c
index b9a4d36..f3c2850 100644
--- a/hw/xfree86/int10/xf86x86emu.c
+++ b/hw/xfree86/int10/xf86x86emu.c
@@ -18,6 +18,12 @@
 
 #define M _X86EMU_env
 
+/* compiler.h defines outb/outw/outl on arm this file does not need these and
+   this interferes with the pioFuncs struct initialization */
+#undef outb
+#undef outw
+#undef outl
+
 static void
 x86emu_do_int(int num)
 {
-- 
1.9.0



More information about the xorg-devel mailing list