mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
libevdev: work around macro definition missing in uClibc
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user