From 68eb9811896ca7ac1c182c0a46a22da3faac3b0d Mon Sep 17 00:00:00 2001 From: "Long.inus" Date: Wed, 12 Jun 2013 23:36:57 +0900 Subject: [PATCH] add support for legacy kernel headers. --- tunerec/tunerec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tunerec/tunerec.c b/tunerec/tunerec.c index 6be978f..f426778 100755 --- a/tunerec/tunerec.c +++ b/tunerec/tunerec.c @@ -10,6 +10,9 @@ #include #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) +#ifndef DTV_STREAM_ID +#define DTV_STREAM_ID DTV_ISDBS_TS_ID +#endif static int search(int adapter_nr, unsigned int frequency, unsigned int ts_id) { -- 2.11.0