From fd97edb62463e50a1860290d54684a68d5490bdc Mon Sep 17 00:00:00 2001 From: Zhenyu Wang Date: Mon, 8 Oct 2007 16:13:26 +0800 Subject: move some definition out of i915 specific header --- src/i915_hwmc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/i915_hwmc.c') diff --git a/src/i915_hwmc.c b/src/i915_hwmc.c index 1e204ba2..e0446ba3 100644 --- a/src/i915_hwmc.c +++ b/src/i915_hwmc.c @@ -55,6 +55,7 @@ #include "xf86xvpriv.h" #endif +#define _INTEL_XVMC_SERVER_ #include "i830_hwmc.h" #include "i915_hwmc.h" @@ -830,7 +831,7 @@ static int I915XvMCPutImage(ScrnInfoPtr pScrn, short src_x, short src_y, if (pI830->XvMCEnabled) { if (FOURCC_XVMC == id) { switch (i915XvMCData->command) { - case I915_XVMC_COMMAND_DISPLAY: + case INTEL_XVMC_COMMAND_DISPLAY: if ((i915XvMCData->srfNo >= I915_XVMC_MAX_SURFACES) || !pXvMC->surfaces[i915XvMCData->srfNo] || !pXvMC->sfprivs[i915XvMCData->srfNo]) { -- cgit v1.2.3