V4L/DVB (5893): DVB: fix includes of video.h when __KERNEL__ is undefined
authorAnssi Hannula <anssi.hannula@gmail.com>
Fri, 20 Jul 2007 20:18:10 +0000 (17:18 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 30 Jul 2007 19:26:27 +0000 (16:26 -0300)
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>
include/linux/dvb/video.h

index 93e4c3a..50839fe 100644 (file)
@@ -29,6 +29,7 @@
 #ifdef __KERNEL__
 #include <linux/types.h>
 #else
+#include <asm/types.h>
 #include <stdint.h>
 #include <time.h>
 #endif