Workaround bug in types.h that has typedef __u64 under #ifndef __STRICT_ANSI__.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 19 Aug 2008 21:20:39 +0000 (21:20 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 19 Aug 2008 21:20:39 +0000 (21:20 +0000)
Originally committed as revision 14852 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavdevice/v4l.c
libavdevice/v4l2.c

index 03694e8..b58de94 100644 (file)
@@ -19,6 +19,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#undef __STRICT_ANSI__ //workaround due to broken kernel headers
 #include "config.h"
 #include "libavformat/avformat.h"
 #include "libavcodec/dsputil.h"
index 81875f6..818366a 100644 (file)
@@ -27,6 +27,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#undef __STRICT_ANSI__ //workaround due to broken kernel headers
 #include "config.h"
 #include "libavformat/avformat.h"
 #include <unistd.h>