distribution/packages/sysutils/hid_mapper/patches/hid_mapper-02_include-sys-time.patch

13 lines
241 B
Diff
Raw Normal View History

2022-02-05 14:23:32 +00:00
diff --git a/hid.c b/hid.c
index 2830b58..a652222 100644
--- a/hid.c
+++ b/hid.c
@@ -22,6 +22,7 @@
#include <unistd.h>
#include <dirent.h>
#include <stdio.h>
+#include <sys/time.h>
#define SYSFS_HIDRAW_CLASS_PATH "/sys/class/hidraw"