From e5e3e733d933fc3accdd6c3c7a02df5950530cae Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 16 Jul 2012 18:48:32 +1000 Subject: nv: make XAA optional. This allows nv to build without XAA. Signed-off-by: Dave Airlie --- src/nv_driver.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nv_driver.c') diff --git a/src/nv_driver.c b/src/nv_driver.c index 5e5c1d6..6dad6e5 100644 --- a/src/nv_driver.c +++ b/src/nv_driver.c @@ -1215,8 +1215,10 @@ NVCloseScreen(CLOSE_SCREEN_ARGS_DECL) NVUnmapMem(pScrn); vgaHWUnmapMem(pScrn); +#ifdef HAVE_XAA_H if (pNv->AccelInfoRec) XAADestroyInfoRec(pNv->AccelInfoRec); +#endif if (pNv->CursorInfoRec) xf86DestroyCursorInfoRec(pNv->CursorInfoRec); if (pNv->ShadowPtr) -- cgit v1.2.3