diff --git a/src/compat-api.h b/src/compat-api.h index 2daf9105..9ca2ab35 100644 --- a/src/compat-api.h +++ b/src/compat-api.h @@ -102,4 +102,11 @@ #define XF86_ENABLEDISABLEFB_ARG(x) (x) #endif + +#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(13, 0) +#define miInitializeBackingStore(x) do {} while (0) +#else +#include "mibstore.h" +#endif + #endif diff --git a/src/intel_driver.c b/src/intel_driver.c index 41f03117..ec887aad 100644 --- a/src/intel_driver.c +++ b/src/intel_driver.c @@ -50,7 +50,6 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. #include "xf86cmap.h" #include "xf86drm.h" #include "compiler.h" -#include "mibstore.h" #include "mipointer.h" #include "micmap.h" #include "shadowfb.h"