summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-07-20 16:18:10 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2007-07-20 16:18:10 -0400
commit22889562b8d60f4db73f82d376f0baf581a98051 (patch)
treedcb9a80c15c46fc2a15f613dd73dd3e498242c31
parent97f20a717ce14a0cdc2165b6783b92b193643058 (diff)
downloadmediapointer-dvb-s2-22889562b8d60f4db73f82d376f0baf581a98051.tar.gz
mediapointer-dvb-s2-22889562b8d60f4db73f82d376f0baf581a98051.tar.bz2
DVB: fix includes of video.h when __KERNEL__ is undefined
From: Anssi Hannula <anssi.hannula@gmail.com> 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>
-rw-r--r--linux/include/linux/dvb/video.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/include/linux/dvb/video.h b/linux/include/linux/dvb/video.h
index 93e4c3a6d..50839fe9e 100644
--- a/linux/include/linux/dvb/video.h
+++ b/linux/include/linux/dvb/video.h
@@ -29,6 +29,7 @@
#ifdef __KERNEL__
#include <linux/types.h>
#else
+#include <asm/types.h>
#include <stdint.h>
#include <time.h>
#endif