File U_Stop-including-xf86Priv.h.patch of Package xf86-video-sis
From 7d4402786b758de3e6ce2641e15a39d612d5c518 Mon Sep 17 00:00:00 2001 From: Adam Jackson <ajax@redhat.com> Date: Mon, 15 Oct 2012 19:11:30 -0400 Subject: [PATCH] Stop including xf86Priv.h As the name might suggest, it's server-private. Signed-off-by: Adam Jackson <ajax@redhat.com> --- src/sis.h | 1 - src/sis_driver.c | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/sis.h b/src/sis.h index 46fca2a..20e6134 100644 --- a/src/sis.h +++ b/src/sis.h @@ -75,7 +75,6 @@ #include "compiler.h" #include "xf86Pci.h" -#include "xf86Priv.h" #include "xf86_OSproc.h" #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6 #include "xf86Resources.h" diff --git a/src/sis_driver.c b/src/sis_driver.c index 46cfefd..cefe503 100644 --- a/src/sis_driver.c +++ b/src/sis_driver.c @@ -93,6 +93,10 @@ #include "dri.h" #endif +#ifndef DEFAULT_DPI +#define DEFAULT_DPI 96 +#endif + /* * LookupWindow was removed with video abi 11. */ -- 1.7.10.4