diff options
author | Matthias Drochner <drochner@netbsd.org> | 2007-04-10 16:15:40 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-05-24 11:20:59 -0700 |
commit | 9616a042855399f0ee9c6489ea824621ea5fee18 (patch) | |
tree | ff8f1c047c5eb722361127912e0b85484fe1f939 /hw/xfree86/os-support | |
parent | 649e7f82d8d4333443493056b81eb20d6cf022bc (diff) |
Fix build on NetBSD/amd64.
Diffstat (limited to 'hw/xfree86/os-support')
-rw-r--r-- | hw/xfree86/os-support/bsd/i386_video.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/xfree86/os-support/bsd/i386_video.c b/hw/xfree86/os-support/bsd/i386_video.c index f4ea3f5c9..ae16b78aa 100644 --- a/hw/xfree86/os-support/bsd/i386_video.c +++ b/hw/xfree86/os-support/bsd/i386_video.c @@ -50,6 +50,11 @@ #include <machine/mtrr.h> #include <machine/sysarch.h> #include <sys/queue.h> +#ifdef __x86_64__ +#define i386_set_mtrr x86_64_set_mtrr +#define i386_get_mtrr x86_64_get_mtrr +#define i386_iopl x86_64_iopl +#endif #endif #if defined(__OpenBSD__) && defined(__amd64__) |