summaryrefslogtreecommitdiff
authorIngo Brückl <ib@wupperonline.de>2013-10-24 18:26:36 (GMT)
committer Stefano Sabatini <stefasab@gmail.com>2013-10-24 19:19:52 (GMT)
commit6c9c636c00223a7f9328172a8ef9b1891af9cced (patch)
tree35ce7bd093dea02d6950611c36be9a9b38fb3d81
parentaf1c5388501e80e6d92704bb70610998226e5e51 (diff)
downloadffmpeg-6c9c636c00223a7f9328172a8ef9b1891af9cced.zip
ffmpeg-6c9c636c00223a7f9328172a8ef9b1891af9cced.tar.gz
ffmpeg-6c9c636c00223a7f9328172a8ef9b1891af9cced.tar.bz2
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@gmail.com> Signed-off-by: Ingo Brückl <ib@wupperonline.de>
Diffstat
-rw-r--r--libavdevice/fbdev_common.h1
1 files changed, 1 insertions, 0 deletions
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"