summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-09-05 19:07:38 +0930
committerPeter Hutterer <peter.hutterer@redhat.com>2008-09-05 19:07:38 +0930
commit4c31e0e6bcf761c9d2d950545bf760d08149f96f (patch)
tree25b75931c3e58b3c6832516e00d2da76f6644aa2
parent6f1900bdf025880f22e3f4d2b2dd0072764b8559 (diff)
Fix build with non-property enabled servers.
Thanks to Matthieu Herrb for reporting this.
-rw-r--r--src/synaptics.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synaptics.c b/src/synaptics.c
index 16eca6b..774c804 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -124,8 +124,10 @@ static Bool DeviceOff(DeviceIntPtr);
static Bool DeviceClose(DeviceIntPtr);
static Bool QueryHardware(LocalDevicePtr);
+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 3
void InitDeviceProperties(LocalDevicePtr local);
Bool SetProperty(DeviceIntPtr dev, Atom property, XIPropertyValuePtr prop);
+#endif
InputDriverRec SYNAPTICS = {
1,