From 5dee0fc9ffec35b21e3784260ebe8aab5e31aa3f Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Wed, 29 Jul 2009 17:33:47 -0400 Subject: [PATCH] s3virge: fix compile error due to undefined macro GET_ABI_MAJOR #23028 Recent commits made inclusing of xf86Resources.h conditional which had a side-effect of not including the macro definition. Added #include "xf86Module.h". Tested on AMD64 for correct compilation --- src/s3v_driver.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/s3v_driver.c b/src/s3v_driver.c index 7fc66e0..8f06d1e 100644 --- a/src/s3v_driver.c +++ b/src/s3v_driver.c @@ -29,6 +29,7 @@ in this Software without prior written authorization from the XFree86 Project. #endif #include +#include "xf86Module.h" #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6 #include "xf86Resources.h" -- 1.6.0.4