aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2006-02-12 20:55:51 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2006-02-12 20:55:51 +0000
commit84fe996379c2aeb15c188433e518983a22eb46f3 (patch)
tree866485f4b8011469434505860195312ec16da7ad /configure
parenteff22cc98b6e571bc8b3c4717e6f9ce243417e9a (diff)
downloadffmpeg-84fe996379c2aeb15c188433e518983a22eb46f3.tar.gz
improve video4linux2 detection (without sys/time.h it was complaining about struct timeval
Originally committed as revision 5009 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 29d45b51c3..cd7645ad1d 100755
--- 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