1 diff --git a/src/tslib.c b/src/tslib.c
2 index e7a2766..884167d 100644
5 @@ -234,7 +234,9 @@ xf86TslibControlProc(DeviceIntPtr device, int what)
7 if (InitValuatorClassDeviceStruct(device,
9 +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3
12 0, Absolute) == FALSE) {
13 ErrorF("unable to allocate Valuator class device\n");