summaryrefslogtreecommitdiff
path: root/v4l2-apps/test
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-08-29 23:36:14 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-08-29 23:36:14 +0200
commit4478dd69f2b9c27d2e6a4c9d6bbd4528483ec73c (patch)
treeb869e5cdf9516d737b09791ba1d96a4036316c70 /v4l2-apps/test
parent46280e1e8dab9fd0f9d10fbc5f7183c634328bd7 (diff)
downloadmediapointer-dvb-s2-4478dd69f2b9c27d2e6a4c9d6bbd4528483ec73c.tar.gz
mediapointer-dvb-s2-4478dd69f2b9c27d2e6a4c9d6bbd4528483ec73c.tar.bz2
v4l2-apps: fix v4l2-apps build and 'make firmware' warnings
From: Hans Verkuil <hverkuil@xs4all.nl> - fix some warnings when creating/removing directories when running 'make firmware' - fix v4l2-apps build: copy and strip the linux/include headers first to avoid the kernel-specific constructs in the original headers. Update the include paths to point to the copy. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'v4l2-apps/test')
-rw-r--r--v4l2-apps/test/Makefile2
-rw-r--r--v4l2-apps/test/ioctl-test.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/v4l2-apps/test/Makefile b/v4l2-apps/test/Makefile
index ae8868c21..faafed14d 100644
--- a/v4l2-apps/test/Makefile
+++ b/v4l2-apps/test/Makefile
@@ -1,6 +1,6 @@
# Makefile for linuxtv.org v4l2-apps/test
-CPPFLAGS += -I../../linux/include
+CPPFLAGS += -I../include
binaries = ioctl-test \
sliced-vbi-test \
diff --git a/v4l2-apps/test/ioctl-test.c b/v4l2-apps/test/ioctl-test.c
index f483338fb..99ad717e5 100644
--- a/v4l2-apps/test/ioctl-test.c
+++ b/v4l2-apps/test/ioctl-test.c
@@ -42,7 +42,7 @@
typedef __u8 u8;
typedef __u32 u32;
#include <linux/version.h>
-#include "../linux/include/media/v4l2-common.h"
+#include <media/v4l2-common.h>
#include <linux/video_decoder.h>
#else
typedef u_int32_t u32;