summaryrefslogtreecommitdiff
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
parent2c49e21a815632fc1addd04dde96592237757a2e (diff)
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;