diff configure @ 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 8a6f2cda5f12
children 45583990d5dd
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