linuxdvb: fix compilation for dvb < 5.0
This commit is contained in:
parent
f578c96949
commit
4a9dfec70f
1 changed files with 2 additions and 0 deletions
|
@ -965,6 +965,7 @@ typedef struct linuxdvb_tbl {
|
|||
|
||||
#define TABLE_EOD -1
|
||||
|
||||
#if DVB_API_VERSION >= 5
|
||||
static int
|
||||
linuxdvb2tvh ( const char *prefix, linuxdvb_tbl_t *tbl, int key, int defval )
|
||||
{
|
||||
|
@ -976,6 +977,7 @@ linuxdvb2tvh ( const char *prefix, linuxdvb_tbl_t *tbl, int key, int defval )
|
|||
tvhtrace("linuxdvb", "%s - linuxdvb2tvh failed %d", prefix, key);
|
||||
return defval;
|
||||
}
|
||||
#endif
|
||||
|
||||
static int
|
||||
tvh2linuxdvb ( const char *prefix, linuxdvb_tbl_t *tbl, int key, int defval )
|
||||
|
|
Loading…
Add table
Reference in a new issue