[FFmpeg-devel] [PATCHv3] avdevice/fbdev_common: fix compilation with older kernels
Stefano Sabatini
stefasab at gmail.com
Thu Oct 24 21:23:47 CEST 2013
On date Thursday 2013-10-24 21:12:35 +0200, Lukasz M encoded:
> On 24 October 2013 20:26, Ingo Brückl <ib at wupperonline.de> wrote:
>
> > This will avoid errors due to conflicting declarations
> > with linux kernels prior to 2.6.30.
> >
> > Signed-off-by: Ingo Brückl <ib at wupperonline.de>
> > ---
> > libavdevice/fbdev_common.h | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/libavdevice/fbdev_common.h b/libavdevice/fbdev_common.h
> > index ecbb825..b6eea2f 100644
> > --- a/libavdevice/fbdev_common.h
> > +++ b/libavdevice/fbdev_common.h
> > @@ -23,6 +23,7 @@
> > #ifndef AVDEVICE_FBDEV_COMMON_H
> > #define AVDEVICE_FBDEV_COMMON_H
> >
> > +#include <features.h>
> > #include <linux/fb.h>
> > #include "libavutil/pixfmt.h"
> >
> > Fine with me.
Applied, thanks.
--
FFmpeg = Fabulous and Fundamental MultiPurpose Eretic Geek
More information about the ffmpeg-devel
mailing list