summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAnssi Hannula <anssi.hannula@gmail.com>2007-07-20 17:18:10 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-30 16:26:27 -0300
commit89f50bf63778018708e29ca0a874c72cb81f77f9 (patch)
tree436cc9e424bee02386011fa992d5bb0a8c4d1934 /include/linux
parent9896bbc1972e3a0595f06c23692a20150a789308 (diff)
downloadlinux-3.10-89f50bf63778018708e29ca0a874c72cb81f77f9.tar.gz
linux-3.10-89f50bf63778018708e29ca0a874c72cb81f77f9.tar.bz2
linux-3.10-89f50bf63778018708e29ca0a874c72cb81f77f9.zip
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')
-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 93e4c3a6d19..50839fe9e39 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