From f3387310f312a4a9e1d691974834c3d290c2fa32 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 28 Jul 2009 18:27:10 +1000 Subject: xserver: fix up for stable build reported by Arkadiusz Miskiewicz --- src/i810_driver.c | 5 +++++ src/i830_driver.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/src/i810_driver.c b/src/i810_driver.c index f158f5db..6852be27 100644 --- a/src/i810_driver.c +++ b/src/i810_driver.c @@ -56,6 +56,11 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "xf86.h" #include "xf86_OSproc.h" #include "xf86cmap.h" +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6 +#include "xf86Resources.h" +#include "xf86RAC.h" +#endif + #include "compiler.h" #include "mibstore.h" #include "vgaHW.h" diff --git a/src/i830_driver.c b/src/i830_driver.c index f701231a..8c280448 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -53,6 +53,10 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. #include "xf86_OSproc.h" #include "xf86Priv.h" #include "xf86cmap.h" +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6 +#include "xf86Resources.h" +#include "xf86RAC.h" +#endif #include "compiler.h" #include "mibstore.h" #include "vgaHW.h" -- cgit v1.2.3