Workaround bug in types.h that has typedef __u64 under #ifndef __STRICT_ANSI__.
[ffmpeg.git] / libavdevice / v4l2.c
index 81875f6b54540a7da28a9672b06dfbbfac50b457..818366a71547cb2c5c0fe85cdcf7e8cdbe573222 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>