From e9d4b8a533eaf4c6b1f24e83589fdc2ef849552b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 19 Aug 2008 21:20:39 +0000 Subject: [PATCH] Workaround bug in types.h that has typedef __u64 under #ifndef __STRICT_ANSI__. Originally committed as revision 14852 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavdevice/v4l.c | 1 + libavdevice/v4l2.c | 1 + 2 files changed, 2 insertions(+) diff --git a/libavdevice/v4l.c b/libavdevice/v4l.c index 03694e8155..b58de94738 100644 --- a/libavdevice/v4l.c +++ b/libavdevice/v4l.c @@ -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" diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index 81875f6b54..818366a715 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -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