changeset 29474:1abc7bcda064

Allow compilation with gcc 2.95.3 if videodev2.h does not support it.
author cehoyos
date Fri, 14 Aug 2009 09:31:16 +0000
parents 6bab02cf6a31
children a697eafd804d
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Aug 14 02:15:28 2009 +0000
+++ b/configure	Fri Aug 14 09:31:16 2009 +0000
@@ -7692,7 +7692,7 @@
 #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