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