[FFmpeg-devel] [PATCHv3] avdevice/fbdev_common: fix compilation with older kernels

Lukasz M lukasz.m.luki at gmail.com
Thu Oct 24 21:12:35 CEST 2013


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.


More information about the ffmpeg-devel mailing list