Skip to content

Commit

Permalink
V4L/DVB (4108): Fixes some userspace dependencies at V4L2 public api …
Browse files Browse the repository at this point in the history
…header

Make life easier for distro guys, by removing the need of including
at the userspace header.
Also, linux/compiler.h is not needed at userspace.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Mauro Carvalho Chehab committed Jun 25, 2006
1 parent 5dab71b commit 89a58c8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions include/linux/videodev2.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@
#ifndef __LINUX_VIDEODEV2_H
#define __LINUX_VIDEODEV2_H
#ifdef __KERNEL__
#include <linux/time.h> /* need struct timeval */
#include <linux/time.h> /* need struct timeval */
#include <linux/compiler.h> /* need __user */
#else
#define __user
#endif
#include <linux/types.h>
#include <linux/compiler.h> /* need __user */

#define HAVE_V4L2 1

Expand Down

0 comments on commit 89a58c8

Please sign in to comment.