summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
Diffstat (limited to 'v4l')
-rw-r--r--v4l/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index 8df5afe2c..92cbd47ec 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -59,6 +59,10 @@
# define I2C_CLASS_TV_DIGITAL I2C_ADAP_CLASS_TV_DIGITAL
#endif
+#ifndef __pure
+# define __pure __attribute__((pure))
+#endif
+
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,9)
# define __user
# define __kernel