aboutsummaryrefslogtreecommitdiff
path: root/libs/libv4l/patches/050-4.14.patch
blob: 7cad8ecf58965aa334287892e501668228f0291e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/utils/keytable/keytable.c
+++ b/utils/keytable/keytable.c
@@ -61,6 +61,10 @@ struct input_keymap_entry_v2 {
 	u_int8_t  scancode[32];
 };
 
+#ifndef input_event_sec
+#define input_event_sec time.tv_sec
+#define input_event_usec time.tv_usec
+#endif
 
 #define IR_PROTOCOLS_USER_DIR IR_KEYTABLE_USER_DIR "/protocols"
 #define IR_PROTOCOLS_SYSTEM_DIR IR_KEYTABLE_SYSTEM_DIR "/protocols"