summaryrefslogtreecommitdiff
path: root/linux/include
diff options
context:
space:
mode:
Diffstat (limited to 'linux/include')
-rw-r--r--linux/include/linux/dvb/video.h1
-rw-r--r--linux/include/media/v4l2-int-device.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/linux/include/linux/dvb/video.h b/linux/include/linux/dvb/video.h
index 93e4c3a6d..50839fe9e 100644
--- a/linux/include/linux/dvb/video.h
+++ b/linux/include/linux/dvb/video.h
@@ -29,6 +29,7 @@
#ifdef __KERNEL__
#include <linux/types.h>
#else
+#include <asm/types.h>
#include <stdint.h>
#include <time.h>
#endif
diff --git a/linux/include/media/v4l2-int-device.h b/linux/include/media/v4l2-int-device.h
index 2b6fc1122..deb28ce66 100644
--- a/linux/include/media/v4l2-int-device.h
+++ b/linux/include/media/v4l2-int-device.h
@@ -170,7 +170,7 @@ int v4l2_int_ioctl_1(struct v4l2_int_device *d, int cmd, void *arg);
arg_type asterisk arg) \
{ \
return v4l2_int_ioctl_1(d, vidioc_int_##name##_num, \
- (void *)arg); \
+ (void *)(unsigned long)arg); \
} \
\
static inline struct v4l2_int_ioctl_desc \