1 --- a/extras/input_id/input_id.c
2 +++ b/extras/input_id/input_id.c
5 #include "libudev-private.h"
7 +#ifndef BTN_TRIGGER_HAPPY
8 +#define BTN_TRIGGER_HAPPY 0x2c0
11 /* we must use this kernel-compatible implementation */
12 #define BITS_PER_LONG (sizeof(unsigned long) * 8)
13 #define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)