From 3ed3172e98e1adcfc81460d3bb64d1653a5adb6a Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Mon, 29 May 2006 12:42:23 -0400 Subject: compat: handle input key definitions added in 2.6.14 From: Michael Krufky Signed-off-by: Michael Krufky --- v4l/compat.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'v4l') 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) ({ \ -- cgit v1.2.3