summaryrefslogtreecommitdiff
path: root/include/linux/dvb
diff options
context:
space:
mode:
authorAnssi Hannula <anssi.hannula@gmail.com>2007-07-21 00:18:10 +0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-30 23:26:27 +0400
commit89f50bf63778018708e29ca0a874c72cb81f77f9 (patch)
tree436cc9e424bee02386011fa992d5bb0a8c4d1934 /include/linux/dvb
parent9896bbc1972e3a0595f06c23692a20150a789308 (diff)
downloadlinux-89f50bf63778018708e29ca0a874c72cb81f77f9.tar.xz
V4L/DVB (5893): DVB: fix includes of video.h when __KERNEL__ is undefined
linux/dvb/video.h uses types __u32, __s32, etc., but does not include any header defining those when __KERNEL__ is not defined. Fix this by including asm/types.h when __KERNEL__ is not defined. Signed-off-by: Anssi Hannula <anssi.hannula@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/linux/dvb')
-rw-r--r--include/linux/dvb/video.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/dvb/video.h b/include/linux/dvb/video.h
index 93e4c3a6d190..50839fe9e39e 100644
--- a/include/linux/dvb/video.h
+++ b/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