summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--v4l/compat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index 0807b44c1..8c4db090c 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -15,6 +15,11 @@
# define I2C_CLASS_TV_ANALOG I2C_ADAP_CLASS_TV_ANALOG
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,6)
+# define __user
+# define __kernel
+#endif
+
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,7)
static inline unsigned long msecs_to_jiffies(const unsigned int m)
{