From: David Mosberger-Tang Date: Fri, 26 May 2006 13:28:13 +0000 (-0300) Subject: V4L/DVB (4046): Trivial videodev2.h patch X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c003d467bd71a7da22554e0d812a646ab58abea5;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git V4L/DVB (4046): Trivial videodev2.h patch linux/videodev2.h uses types such as __u8 but it fails to include . Within the kernel, that's not a problem because already includes . However, there are user apps that try to include videodev2.h (e.g., ekiga) and at least on ia64, it causes compilation failures since doesn't get included for any other reason, leaving __u8 etc. undefined. The attached patch fixes the problem for me. Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab --- diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index ad7fa9c86c10..b3a848b6fb1c 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h @@ -19,6 +19,7 @@ #include #include #endif +#include #include /* need __user */