aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/fbdev_common.h
diff options
context:
space:
mode:
authorIngo Brückl <ib@wupperonline.de>2013-10-24 20:26:36 +0200
committerStefano Sabatini <stefasab@gmail.com>2013-10-24 21:19:52 +0200
commit6c9c636c00223a7f9328172a8ef9b1891af9cced (patch)
tree35ce7bd093dea02d6950611c36be9a9b38fb3d81 /libavdevice/fbdev_common.h
parentaf1c5388501e80e6d92704bb70610998226e5e51 (diff)
downloadffmpeg-6c9c636c00223a7f9328172a8ef9b1891af9cced.tar.gz
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 (limited to 'libavdevice/fbdev_common.h')
-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 ecbb8250f1..b6eea2f1c1 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"