OSDN Git Service

add support for legacy kernel headers.
authorLong.inus <long.inus@hotmail.co.jp>
Wed, 12 Jun 2013 14:36:57 +0000 (23:36 +0900)
committerLong.inus <long.inus@hotmail.co.jp>
Wed, 12 Jun 2013 14:36:57 +0000 (23:36 +0900)
tunerec/tunerec.c

index 6be978f..f426778 100755 (executable)
@@ -10,6 +10,9 @@
 #include <time.h>
 
 #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)
 {