summaryrefslogtreecommitdiff
path: root/v4l2-apps/test/ioctl-test.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2006-07-01 14:41:32 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2006-07-01 14:41:32 +0200
commit03f118a31b76f1042007bccdbcd23168f3bc42e2 (patch)
tree7eb2bf647ffee882f0f2fc9f323d532724fea97d /v4l2-apps/test/ioctl-test.c
parent6729498c6f12e5365bf99ce8ef09371aa2c4335e (diff)
downloadmediapointer-dvb-s2-03f118a31b76f1042007bccdbcd23168f3bc42e2.tar.gz
mediapointer-dvb-s2-03f118a31b76f1042007bccdbcd23168f3bc42e2.tar.bz2
Fix makefiles, start with libv4l2.
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'v4l2-apps/test/ioctl-test.c')
-rw-r--r--v4l2-apps/test/ioctl-test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/v4l2-apps/test/ioctl-test.c b/v4l2-apps/test/ioctl-test.c
index 4b47cd9e7..61659dc78 100644
--- a/v4l2-apps/test/ioctl-test.c
+++ b/v4l2-apps/test/ioctl-test.c
@@ -36,7 +36,7 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <fcntl.h>
-#include "../linux/include/linux/videodev.h"
+#include "linux/videodev.h"
#ifdef INTERNAL
typedef __u8 u8;
@@ -201,7 +201,8 @@ int ioctls[] = {
/********************************************************************/
int main (void)
{
- int fd=0, ret=0,i;
+ int fd=0, ret=0;
+ unsigned i;
char *device="/dev/video0";
union v4l_parms p;