[FFmpeg-cvslog] lavd/fbdev_common: fix compilation with older kernels
Ingo Brückl
git at videolan.org
Thu Oct 24 21:21:01 CEST 2013
ffmpeg | branch: master | Ingo Brückl <ib at wupperonline.de> | Thu Oct 24 20:26:36 2013 +0200| [6c9c636c00223a7f9328172a8ef9b1891af9cced] | committer: Stefano Sabatini
lavd/fbdev_common: fix compilation with older kernels
This will avoid errors due to conflicting declarations
with linux kernels prior to 2.6.30.
Reviewed-by: Lukasz M <lukasz.m.luki at gmail.com>
Signed-off-by: Ingo Brückl <ib at wupperonline.de>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6c9c636c00223a7f9328172a8ef9b1891af9cced
---
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"
More information about the ffmpeg-cvslog
mailing list