aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/v4l2.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-08-19 21:20:39 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-08-19 21:20:39 +0000
commite9d4b8a533eaf4c6b1f24e83589fdc2ef849552b (patch)
tree36a001ea9c50e453744834ad4fb0cd73ace57d11 /libavdevice/v4l2.c
parent0da49fca79ce4bca32bbbca00e79a60f8be523a2 (diff)
downloadffmpeg-e9d4b8a533eaf4c6b1f24e83589fdc2ef849552b.tar.gz
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
Diffstat (limited to 'libavdevice/v4l2.c')
-rw-r--r--libavdevice/v4l2.c1
1 files changed, 1 insertions, 0 deletions
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 <unistd.h>