summaryrefslogtreecommitdiff
path: root/driver/xf86-video-openchrome/src/via_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'driver/xf86-video-openchrome/src/via_priv.h')
-rw-r--r--driver/xf86-video-openchrome/src/via_priv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/xf86-video-openchrome/src/via_priv.h b/driver/xf86-video-openchrome/src/via_priv.h
index 098ef5d58..3703a33c1 100644
--- a/driver/xf86-video-openchrome/src/via_priv.h
+++ b/driver/xf86-video-openchrome/src/via_priv.h
@@ -26,7 +26,7 @@
#ifndef _VIA_PRIV_H_
#define _VIA_PRIV_H_ 1
-#ifdef XF86DRI
+#ifdef CHROMEDRI
#include "via_drm.h"
#endif
#ifdef VIA_HAVE_EXA
@@ -141,7 +141,7 @@ typedef struct
typedef struct {
unsigned long base; /* Offset into fb */
int pool; /* Pool we drew from */
-#ifdef XF86DRI
+#ifdef CHROMEDRI
int drm_fd; /* Fd in DRM mode */
drm_via_mem_t drm; /* DRM management object */
#endif