changeset 11814:9e88ceb462c7

compile fix when v4l2 is present but disabled
author alex
date Tue, 20 Jan 2004 13:32:05 +0000
parents 629063044de5
children 0fa6f4fcfcbb
files libmpdemux/tvi_v4l.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/tvi_v4l.c	Tue Jan 20 10:07:55 2004 +0000
+++ b/libmpdemux/tvi_v4l.c	Tue Jan 20 13:32:05 2004 +0000
@@ -410,7 +410,7 @@
     }
 }
 
-#ifndef __LINUX_VIDEODEV2_H
+#if !defined(__LINUX_VIDEODEV2_H) && !defined(VIDIOC_QUERYCAP)
 struct v4l2_capability
 {
         __u8    driver[16];     /* i.e. "bttv" */