summaryrefslogtreecommitdiff
path: root/libs/libevdev
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2015-06-14 22:33:19 +0200
committerDaniel Golle <daniel@makrotopia.org>2015-06-14 22:33:19 +0200
commitb065013042b54053e6be86c88f8d3761b2b07b2c (patch)
tree03cd15ba2dc8063bc72bc9f676eeb77194ddd115 /libs/libevdev
parent3a81a9b9fae2410c32d72974b9e04340c4cc8389 (diff)
libevdev: work around macro definition missing in uClibc
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'libs/libevdev')
-rw-r--r--libs/libevdev/patches/010-no-clock-monotonic-raw-in-uclibc.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/libs/libevdev/patches/010-no-clock-monotonic-raw-in-uclibc.patch b/libs/libevdev/patches/010-no-clock-monotonic-raw-in-uclibc.patch
new file mode 100644
index 000000000..a11ac1e46
--- /dev/null
+++ b/libs/libevdev/patches/010-no-clock-monotonic-raw-in-uclibc.patch
@@ -0,0 +1,14 @@
+--- a/test/test-libevdev-init.c
++++ b/test/test-libevdev-init.c
+@@ -32,6 +32,11 @@
+ #include <libevdev/libevdev-uinput.h>
+ #include "test-common.h"
+
++/* work-around CLOCK_MONOTONIC_RAW definition missing in uClibc */
++#ifndef CLOCK_MONOTONIC_RAW
++#define CLOCK_MONOTONIC_RAW 4
++#endif
++
+ START_TEST(test_new_device)
+ {
+ struct libevdev *dev;