make ubuntu 11.04 compile with libv4l

This commit is contained in:
Vadim Pisarevsky
2011-05-12 11:40:42 +00:00
parent 23a369b27e
commit 138b9724d8
3 changed files with 9 additions and 2 deletions

View File

@@ -173,7 +173,7 @@ CV_IMPL CvCapture * cvCreateCameraCapture (int index)
if (capture)
return capture;
#endif
#if defined (HAVE_CAMV4L) && defined (HAVE_CAMV4L2)
#if defined HAVE_LIBV4L || (defined (HAVE_CAMV4L) && defined (HAVE_CAMV4L2))
capture = cvCreateCameraCapture_V4L (index);
if (capture)
return capture;