summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux/drivers/media/common/ir-keymaps.c1
-rw-r--r--v4l/compat.h7
2 files changed, 8 insertions, 0 deletions
diff --git a/linux/drivers/media/common/ir-keymaps.c b/linux/drivers/media/common/ir-keymaps.c
index ad9eea005..075d5e746 100644
--- a/linux/drivers/media/common/ir-keymaps.c
+++ b/linux/drivers/media/common/ir-keymaps.c
@@ -24,6 +24,7 @@
#include <linux/input.h>
#include <media/ir-common.h>
+#include "compat.h"
/* empty keytable, can be used as placeholder for not-yet created keytables */
IR_KEYTAB_TYPE ir_codes_empty[IR_KEYTAB_SIZE] = {
diff --git a/v4l/compat.h b/v4l/compat.h
index b9138c7be..ca0a4b886 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -178,6 +178,13 @@ static inline unsigned long msleep_interruptible(unsigned int msecs)
# define KEY_OK 0x160
# define KEY_DIGITS 0x19d
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)
+# define KEY_SEND 231
+# define KEY_REPLY 232
+# define KEY_FORWARDMAIL 233
+# define KEY_SAVE 234
+# define KEY_DOCUMENTS 235
+#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
#define container_of(ptr, type, member) ({ \