summaryrefslogtreecommitdiff
path: root/src/i830.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/i830.h')
-rw-r--r--src/i830.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/i830.h b/src/i830.h
index 8c968414..ea4f2c40 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -154,7 +154,11 @@ struct intel_pixmap {
struct list flush, batch, in_flight;
};
+#if HAS_DEVPRIVATEKEYREC
+extern DevPrivateKeyRec uxa_pixmap_index;
+#else
extern int uxa_pixmap_index;
+#endif
static inline struct intel_pixmap *i830_get_pixmap_intel(PixmapPtr pixmap)
{