010-no-clock-monotonic-raw-in-uclibc.patch (344B)
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;