XFree86: Fix build with DGA disabled

It's optional, so we might as well work when it's disabled.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
Daniel Stone 2009-01-05 11:23:39 +02:00
commit 7da4e901e0
5 changed files with 18 additions and 2 deletions

View file

@ -825,6 +825,7 @@ xf86OutputGetEDID (xf86OutputPtr output, I2CBusPtr pDDCBus);
* Initialize dga for this screen
*/
#ifdef XFreeXDGA
extern _X_EXPORT Bool
xf86DiDGAInit (ScreenPtr pScreen, unsigned long dga_address);
@ -834,6 +835,7 @@ xf86DiDGAInit (ScreenPtr pScreen, unsigned long dga_address);
extern _X_EXPORT Bool
xf86DiDGAReInit (ScreenPtr pScreen);
#endif
/*
* Set the subpixel order reported for the screen using