aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-03-09 09:29:48 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-03-09 09:31:16 +1000
commit31853c39bfae7bb1035485407fd245cd11337d4f (patch)
tree153e34f35e263c490dfe79de40a47eb43159b5ca
parentCheck button label before fetching the Atom from the server. (#20524) (diff)
downloadxf86-input-evdev-31853c39bfae7bb1035485407fd245cd11337d4f.tar.gz
xf86-input-evdev-31853c39bfae7bb1035485407fd245cd11337d4f.tar.bz2
xf86-input-evdev-31853c39bfae7bb1035485407fd245cd11337d4f.zip
Define MAX_VALUATORS if it's missing to allow for builds against 1.5.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/evdev.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/evdev.h b/src/evdev.h
index bd25a26..6745a07 100644
--- a/src/evdev.h
+++ b/src/evdev.h
@@ -59,6 +59,11 @@
#define HAVE_PROPERTIES 1
#endif
+#ifndef MAX_VALUATORS
+#define MAX_VALUATORS 36
+#endif
+
+
#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 5
typedef struct {
char *rules;