summaryrefslogtreecommitdiff
path: root/src/compat-api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compat-api.h')
-rw-r--r--src/compat-api.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compat-api.h b/src/compat-api.h
index a703e5c..aca3b07 100644
--- a/src/compat-api.h
+++ b/src/compat-api.h
@@ -38,4 +38,10 @@
#define BLOCKHANDLER_ARGS pScreen, pTimeout, pReadmask
#endif
+#if ABI_VIDEODRV_VERSION < SET_ABI_VERSION(25, 2)
+#define current_primary current_master
+#define primary_pixmap master_pixmap
+#define secondary_dst slave_dst
+#endif
+
#endif