Sophie

Sophie

distrib > Mandriva > 2009.1 > i586 > media > main-release-src > by-pkgid > ed850f9ceda4826f28781585a4806f28 > files > 6

x11-server-1.6.1-1mdv2009.1.src.rpm

From a3804155189ee89bc24c1c622f361e5678a99b7f Mon Sep 17 00:00:00 2001
From: Colin Guthrie <cguthrie@mandriva.org>
Date: Sat, 31 Jan 2009 12:12:56 +0000
Subject: [PATCH 305/305] RH: xserver-1.5.99.3-broken-mtrr-header v1.3

---
 hw/kdrive/src/kmap.c                    |    2 ++
 hw/xfree86/os-support/linux/lnx_video.c |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/hw/kdrive/src/kmap.c b/hw/kdrive/src/kmap.c
index 60e8ae1..2daf1a9 100644
--- a/hw/kdrive/src/kmap.c
+++ b/hw/kdrive/src/kmap.c
@@ -27,6 +27,8 @@
 #include <unistd.h>
 #include <sys/mman.h>
 #ifdef HAVE_ASM_MTRR_H
+typedef unsigned char __u8;
+typedef unsigned int __u32;
 #include <asm/mtrr.h>
 #endif
 
diff --git a/hw/xfree86/os-support/linux/lnx_video.c b/hw/xfree86/os-support/linux/lnx_video.c
index 688106a..80a2cd9 100644
--- a/hw/xfree86/os-support/linux/lnx_video.c
+++ b/hw/xfree86/os-support/linux/lnx_video.c
@@ -44,6 +44,8 @@
 #endif
 
 #ifdef HAS_MTRR_SUPPORT
+typedef unsigned char __u8;
+typedef unsigned int __u32;
 #include <asm/mtrr.h>
 #endif
 
-- 
1.6.1.3