rpcd: update to git head
[openwrt.git] / package / system / udev / patches / 0003-add_btn_trigger_happy_define.patch
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)