aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Mosberger-Tang <David.Mosberger@acm.org>2006-05-26 09:28:13 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 01:05:00 -0400
commitc003d467bd71a7da22554e0d812a646ab58abea5 (patch)
tree2e66ab6cd7cce4a741d6ccfbc1d964b8d141f187 /include
parentdea74869f3c62b0b7addd67017b22b394e942aac (diff)
V4L/DVB (4046): Trivial videodev2.h patch
linux/videodev2.h uses types such as __u8 but it fails to include <linux/types.h>. Within the kernel, that's not a problem because <linux/time.h> already includes <linux/types.h>. However, there are user apps that try to include videodev2.h (e.g., ekiga) and at least on ia64, it causes compilation failures since <linux/types.h> 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 <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/videodev2.h1
1 files changed, 1 insertions, 0 deletions
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 @@
19#include <linux/device.h> 19#include <linux/device.h>
20#include <linux/mutex.h> 20#include <linux/mutex.h>
21#endif 21#endif
22#include <linux/types.h>
22#include <linux/compiler.h> /* need __user */ 23#include <linux/compiler.h> /* need __user */
23 24
24 25