summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux/drivers/media/dvb/siano/smscoreapi.h2
-rw-r--r--v4l/compat.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/siano/smscoreapi.h b/linux/drivers/media/dvb/siano/smscoreapi.h
index 9caefebc3..482ef0676 100644
--- a/linux/drivers/media/dvb/siano/smscoreapi.h
+++ b/linux/drivers/media/dvb/siano/smscoreapi.h
@@ -29,7 +29,7 @@
#include <linux/scatterlist.h>
#include <linux/types.h>
#include <asm/page.h>
-
+#include "compat.h"
#include "dmxdev.h"
#include "dvbdev.h"
#include "dvb_demux.h"
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