From: Long.inus Date: Wed, 12 Jun 2013 14:36:57 +0000 (+0900) Subject: add support for legacy kernel headers. X-Git-Url: http://git.osdn.net/view?p=rec10%2Frec10-git.git;a=commitdiff_plain;h=68eb9811896ca7ac1c182c0a46a22da3faac3b0d;hp=a834435b4021d1a0cf8d9be04c574b0fca2d98df add support for legacy kernel headers. --- 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) {