diff options
Diffstat (limited to 'src/mesa/drivers/dri/common')
-rw-r--r-- | src/mesa/drivers/dri/common/dri_util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c index 6b251c1cd6..8af4c0a50a 100644 --- a/src/mesa/drivers/dri/common/dri_util.c +++ b/src/mesa/drivers/dri/common/dri_util.c @@ -37,12 +37,12 @@ #include <extutil.h> #include <stdio.h> #include "dri_util.h" -#include "xf86dri.h" +#ifndef DRI_NEW_INTERFACE_ONLY +# include "xf86dri.h" +#endif /* DRI_NEW_INTERFACE_ONLY */ #include "sarea.h" #include "glcontextmodes.h" -/*#define DRI_NEW_INTERFACE_ONLY*/ - #ifndef GLX_OML_sync_control typedef Bool ( * PFNGLXGETMSCRATEOMLPROC) (__DRInativeDisplay *dpy, __DRIid drawable, int32_t *numerator, int32_t *denominator); #endif |