aboutsummaryrefslogtreecommitdiffstats
path: root/int10
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2006-08-31 11:34:50 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2006-08-31 11:34:50 +0000
commitd3ae925400c7895d480022fb96c3297cc0178d00 (patch)
tree6cdc9e5f96c67fe1e7b2b3e6f23bcb136079a952 /int10
parenteeb880c1d8381b5f5be9bd58a40e4d16e1ccca17 (diff)
downloadmonitor-edid-d3ae925400c7895d480022fb96c3297cc0178d00.tar
monitor-edid-d3ae925400c7895d480022fb96c3297cc0178d00.tar.gz
monitor-edid-d3ae925400c7895d480022fb96c3297cc0178d00.tar.bz2
monitor-edid-d3ae925400c7895d480022fb96c3297cc0178d00.tar.xz
monitor-edid-d3ae925400c7895d480022fb96c3297cc0178d00.zip
Make it build as -m32 on x86_64 (no obsolete <sys/vm86.h>) and vm86_struct.h
definitions are correct anyway.
Diffstat (limited to 'int10')
-rw-r--r--int10/emu_vm86.c4
-rw-r--r--int10/i10_v86.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/int10/emu_vm86.c b/int10/emu_vm86.c
index 2603a5a..890f762 100644
--- a/int10/emu_vm86.c
+++ b/int10/emu_vm86.c
@@ -1,10 +1,6 @@
#include <stdio.h>
#include <stdarg.h>
-#ifdef __i386__
-#include <sys/vm86.h>
-#else
#include "vm86_struct.h"
-#endif
#define INT2PTR(a) ((a) + (unsigned char *) 0)
diff --git a/int10/i10_v86.c b/int10/i10_v86.c
index 8fbda31..97bd342 100644
--- a/int10/i10_v86.c
+++ b/int10/i10_v86.c
@@ -25,11 +25,7 @@
#include <asm/unistd.h>
#include <stdio.h>
#include <string.h>
-#ifdef __i386__
-#include <sys/vm86.h>
-#else
#include "vm86_struct.h"
-#endif
#include <signal.h>
#include "v86bios.h"
#include "AsmMacros.h"