Merge pull request #788 from lrusak/dvb-tools

dvblast: fix build with aml-3.14
This commit is contained in:
MilhouseVH 2016-10-03 01:42:34 +01:00 committed by GitHub
commit d598804149

View File

@ -0,0 +1,16 @@
diff --git a/dvb.c b/dvb.c
index d1c8409..52ff3c2 100644
--- a/dvb.c
+++ b/dvb.c
@@ -86,6 +86,11 @@ static void FrontendRead(struct ev_loop *loop, struct ev_io *w, int revents);
static void FrontendLockCb(struct ev_loop *loop, struct ev_timer *w, int revents);
static void FrontendSet( bool b_reset );
+// aml 3.14 is meh ?
+#ifndef fe_caps_t
+typedef enum fe_caps fe_caps_t;
+#endif
+
/*****************************************************************************
* dvb_Open
*****************************************************************************/