lavd/fbdev_common: fix compilation with older kernels
authorIngo Brückl <ib@wupperonline.de>
Thu, 24 Oct 2013 18:26:36 +0000 (20:26 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Thu, 24 Oct 2013 19:19:52 +0000 (21:19 +0200)
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>
libavdevice/fbdev_common.h

index ecbb825..b6eea2f 100644 (file)
@@ -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"