Messages in this thread Patch in this message | | | Date | Mon, 8 Nov 2004 09:54:54 +0100 | From | Gerd Knorr <> | Subject | [patch] videodev2.h patchlet |
| |
Hi,
The following patchlet to videodev2.h brings in the "__user" definition from linux/compiler.h, making it suitable for inclusion in both kernel or user code.
Stelian.
Signed-off-by: Stelian Pop <stelian@popies.net> Signed-off-by: Gerd Knorr <kraxel@bytesex.org> --- include/linux/videodev2.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
--- 1.8/include/linux/videodev2.h 2004-07-12 10:01:15 +02:00 +++ edited/include/linux/videodev2.h 2004-10-21 19:12:18 +02:00 @@ -16,6 +16,7 @@ #ifdef __KERNEL__ #include <linux/time.h> /* need struct timeval */ #endif +#include <linux/compiler.h> /* need __user */ /* * M I S C E L L A N E O U S -- #define printk(args...) fprintf(stderr, ## args) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |