summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorcehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-08-14 09:31:16 +0000
committercehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-08-14 09:31:16 +0000
commitb3506ab290d655ac9f7a0d7641edc2980c4e07dd (patch)
treef1e561f2115de83d011329be322a2d030d82edc4 /configure
parent28b847afce2057d4e55de80a7df8efe7f176fd40 (diff)
downloadmpv-b3506ab290d655ac9f7a0d7641edc2980c4e07dd.tar.bz2
mpv-b3506ab290d655ac9f7a0d7641edc2980c4e07dd.tar.xz
Allow compilation with gcc 2.95.3 if videodev2.h does not support it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29516 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 03d92c9253..1c60c1dcdd 100755
--- a/configure
+++ b/configure
@@ -7692,7 +7692,7 @@ if test "$_pvr" = auto ; then
#include <inttypes.h>
#include <linux/types.h>
#include <linux/videodev2.h>
-int main(void) { struct v4l2_ext_controls ext; return 0; }
+int main(void) { struct v4l2_ext_controls ext; return ext.controls->value; }
EOF
cc_check && _pvr=yes
fi