010-no-clock-monotonic-raw-in-uclibc.patch 344 B

1234567891011121314
  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. +/* work-around CLOCK_MONOTONIC_RAW definition missing in uClibc */
  7. +#ifndef CLOCK_MONOTONIC_RAW
  8. +#define CLOCK_MONOTONIC_RAW 4
  9. +#endif
  10. +
  11. START_TEST(test_new_device)
  12. {
  13. struct libevdev *dev;