mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-19 11:03:41 +03:00
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28453 3c298f89-4303-0410-b956-a3cf2f4a3e73
14 lines
363 B
Diff
14 lines
363 B
Diff
--- a/extras/input_id/input_id.c
|
|
+++ b/extras/input_id/input_id.c
|
|
@@ -30,6 +30,10 @@
|
|
#include "libudev.h"
|
|
#include "libudev-private.h"
|
|
|
|
+#ifndef BTN_TRIGGER_HAPPY
|
|
+#define BTN_TRIGGER_HAPPY 0x2c0
|
|
+#endif
|
|
+
|
|
/* we must use this kernel-compatible implementation */
|
|
#define BITS_PER_LONG (sizeof(unsigned long) * 8)
|
|
#define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)
|