Skip to content

Commit

Permalink
V4L/DVB (5893): DVB: fix includes of video.h when __KERNEL__ is undef…
Browse files Browse the repository at this point in the history
…ined

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>
  • Loading branch information
Anssi Hannula authored and Mauro Carvalho Chehab committed Jul 30, 2007
1 parent 9896bbc commit 89f50bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/dvb/video.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#ifdef __KERNEL__
#include <linux/types.h>
#else
#include <asm/types.h>
#include <stdint.h>
#include <time.h>
#endif
Expand Down

0 comments on commit 89f50bf

Please sign in to comment.