Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Anssi Hannula and committed by
Mauro Carvalho Chehab
89f50bf6 9896bbc1

+1
+1
include/linux/dvb/video.h
··· 29 29 #ifdef __KERNEL__ 30 30 #include <linux/types.h> 31 31 #else 32 + #include <asm/types.h> 32 33 #include <stdint.h> 33 34 #include <time.h> 34 35 #endif