From 9616a042855399f0ee9c6489ea824621ea5fee18 Mon Sep 17 00:00:00 2001 From: Matthias Drochner Date: Tue, 10 Apr 2007 16:15:40 -0700 Subject: [PATCH] Fix build on NetBSD/amd64. --- hw/xfree86/os-support/bsd/i386_video.c | 5 +++++ 1 file changed, 5 insertions(+) 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 #include #include +#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__)