Root/
| 1 | --- a/extras/input_id/input_id.c |
| 2 | +++ b/extras/input_id/input_id.c |
| 3 | @@ -30,6 +30,10 @@ |
| 4 | #include "libudev.h" |
| 5 | #include "libudev-private.h" |
| 6 | |
| 7 | +#ifndef BTN_TRIGGER_HAPPY |
| 8 | +#define BTN_TRIGGER_HAPPY 0x2c0 |
| 9 | +#endif |
| 10 | + |
| 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) |
| 14 |
