Browse Source

libevdev: work around macro definition missing in uClibc

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Daniel Golle 9 years ago
parent
commit
b065013042
1 changed files with 14 additions and 0 deletions
  1. 14
    0
      libs/libevdev/patches/010-no-clock-monotonic-raw-in-uclibc.patch

+ 14
- 0
libs/libevdev/patches/010-no-clock-monotonic-raw-in-uclibc.patch View File

@@ -0,0 +1,14 @@
1
+--- a/test/test-libevdev-init.c
2
++++ b/test/test-libevdev-init.c
3
+@@ -32,6 +32,11 @@
4
+ #include <libevdev/libevdev-uinput.h>
5
+ #include "test-common.h"
6
+ 
7
++/* work-around CLOCK_MONOTONIC_RAW definition missing in uClibc */
8
++#ifndef CLOCK_MONOTONIC_RAW
9
++#define CLOCK_MONOTONIC_RAW 4
10
++#endif
11
++
12
+ START_TEST(test_new_device)
13
+ {
14
+ 	struct libevdev *dev;