]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Workaround bug in types.h that has typedef __u64 under #ifndef __STRICT_ANSI__.
authormichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 19 Aug 2008 21:20:39 +0000 (21:20 +0000)
committermichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 19 Aug 2008 21:20:39 +0000 (21:20 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14852 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavdevice/v4l.c
libavdevice/v4l2.c

index 03694e8155b07fc5193e578626060f0dadd6ea82..b58de9473876c611632aa7597b0bb94e52c52b04 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 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>