You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
391 B

  1. --- a/utils/keytable/keytable.c
  2. +++ b/utils/keytable/keytable.c
  3. @@ -61,6 +61,10 @@ struct input_keymap_entry_v2 {
  4. u_int8_t scancode[32];
  5. };
  6. +#ifndef input_event_sec
  7. +#define input_event_sec time.tv_sec
  8. +#define input_event_usec time.tv_usec
  9. +#endif
  10. #define IR_PROTOCOLS_USER_DIR IR_KEYTABLE_USER_DIR "/protocols"
  11. #define IR_PROTOCOLS_SYSTEM_DIR IR_KEYTABLE_SYSTEM_DIR "/protocols"