summaryrefslogtreecommitdiff
path: root/v4l/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'v4l/compat.h')
-rw-r--r--v4l/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index d32806e9b..ba9a7cff7 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -210,4 +210,8 @@ static inline struct proc_dir_entry *proc_create_data(const char *a,
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24)
+typedef unsigned long uintptr_t;
+#endif
+
#endif