diff options
-rw-r--r-- | src/ws.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -36,6 +36,17 @@ #include <mipointer.h> #include <extinit.h> +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) > 10 +#undef xalloc +#undef xcalloc + +#define xcalloc calloc +#define xalloc malloc +#define Xcalloc calloc +#define Xalloc malloc +#define Xfree free +#endif + #include "ws.h" #ifdef HAVE_PROPERTIES |