summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index f64e114..27082b7 100644
--- a/src/common.h
+++ b/src/common.h
@@ -48,6 +48,11 @@
48#define MT_TOOL_PEN 1 48#define MT_TOOL_PEN 1
49#endif 49#endif
50 50
51/* includes available in 2.6.33 */
52#ifndef ABS_MT_PRESSURE
53#define ABS_MT_PRESSURE 0x3a /* Pressure on contact area */
54#endif
55
51#define SYSCALL(call) while (((call) == -1) && (errno == EINTR)) 56#define SYSCALL(call) while (((call) == -1) && (errno == EINTR))
52 57
53#define BITMASK(x) (1U << (x)) 58#define BITMASK(x) (1U << (x))