diff --git a/src/i830_memory.c b/src/i830_memory.c index 02b16794..6f7d7cc0 100644 --- a/src/i830_memory.c +++ b/src/i830_memory.c @@ -2023,6 +2023,7 @@ I830CheckAvailableMemory(ScrnInfoPtr pScrn) return maxPages * 4; } +#ifdef INTEL_XVMC /* * Allocate memory for MC compensation */ @@ -2044,3 +2045,4 @@ Bool i830_allocate_xvmc_buffer(ScrnInfoPtr pScrn, const char *name, return TRUE; } +#endif