# HG changeset patch
# User alex
# Date 1007219140 0
# Node ID 3bd16d4a94e22718c303c2d19600a56b189c6413
# Parent  a5f693377e234f0081864ecec39135565869d376
updated for support detection by configure

diff -r a5f693377e23 -r 3bd16d4a94e2 libmpdemux/tvi_v4l.c
--- a/libmpdemux/tvi_v4l.c	Sat Dec 01 15:05:08 2001 +0000
+++ b/libmpdemux/tvi_v4l.c	Sat Dec 01 15:05:40 2001 +0000
@@ -11,7 +11,7 @@
 
 #include "config.h"
 
-#ifdef USE_TV
+#if defined(USE_TV) && defined(HAVE_TV_V4L)
 
 #include <stdio.h>
 #include <errno.h>