]> git.sesse.net Git - ffmpeg/commitdiff
improve video4linux2 detection (without sys/time.h it was complaining about struct...
authorAlex Beregszaszi <alex@rtfs.hu>
Sun, 12 Feb 2006 20:55:51 +0000 (20:55 +0000)
committerAlex Beregszaszi <alex@rtfs.hu>
Sun, 12 Feb 2006 20:55:51 +0000 (20:55 +0000)
Originally committed as revision 5009 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 29d45b51c3ff952ffd1a722127ef48d72d619ff9..cd7645ad1df83dea52511ca447fdfec70e5d286a 100755 (executable)
--- a/configure
+++ b/configure
@@ -1251,6 +1251,7 @@ fi
 if test "$v4l2" = "yes"; then
 # check for video4linux2 --- V4L2_PIX_FMT_YUV420
 cat > $TMPC << EOF
+#include <sys/time.h>
 #include <linux/videodev.h>
 int dummy = V4L2_PIX_FMT_YUV420;
 EOF