changeset 28667:8363a6c42ace

Accept DVB API 5, patch by Steven Brudenell, steven.brudenell gmail com.
author diego
date Sun, 22 Feb 2009 14:12:33 +0000
parents 2e6db5e667c6
children 838f5706f17e
files stream/dvbin.h
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/dvbin.h	Sun Feb 22 09:25:13 2009 +0000
+++ b/stream/dvbin.h	Sun Feb 22 14:12:33 2009 +0000
@@ -38,9 +38,16 @@
 
 #undef DVB_ATSC
 #if defined(DVB_API_VERSION_MINOR)
-#if DVB_API_VERSION == 3 && DVB_API_VERSION_MINOR >= 1
+
+/* kernel headers >=2.6.28 have version 5.
+ *
+ * FIXME: are there any real differences between 3.1 and 5?
+ */
+
+#if (DVB_API_VERSION == 3 && DVB_API_VERSION_MINOR >= 1) || DVB_API_VERSION == 5
 #define DVB_ATSC 1
 #endif
+
 #endif