summaryrefslogtreecommitdiff
path: root/v4l/compat.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-07-14 00:33:42 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2008-07-14 00:33:42 -0400
commit355699a8648782af767ca46dcfe4330d54c01554 (patch)
tree0a019e46d1f75b411e9083c8cf8b04439c413d59 /v4l/compat.h
parent57f7547b3b754c5a80806990d706830b2515a643 (diff)
downloadmediapointer-dvb-s2-355699a8648782af767ca46dcfe4330d54c01554.tar.gz
mediapointer-dvb-s2-355699a8648782af767ca46dcfe4330d54c01554.tar.bz2
sms1xxx: fix compat for kernel 2.6.23 and earlier
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
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