summaryrefslogtreecommitdiff
path: root/dvbdevice.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-11-03 12:31:51 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-11-03 12:31:51 +0100
commit35a69ee74322043c5b0d853e7f864a8cf5d2da55 (patch)
tree1f49af51c6e73b17d0e1705e038f3151ccf4bf18 /dvbdevice.h
parent7c40984f1b949ac1dfbf711d184b84381bc69b88 (diff)
downloadvdr-35a69ee74322043c5b0d853e7f864a8cf5d2da55.tar.gz
vdr-35a69ee74322043c5b0d853e7f864a8cf5d2da55.tar.bz2
Now checking the driver's DVB_API_VERSION1.1.15
Diffstat (limited to 'dvbdevice.h')
-rw-r--r--dvbdevice.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/dvbdevice.h b/dvbdevice.h
index 67b11950..709790cd 100644
--- a/dvbdevice.h
+++ b/dvbdevice.h
@@ -4,17 +4,22 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbdevice.h 1.17 2002/11/02 14:32:25 kls Exp $
+ * $Id: dvbdevice.h 1.18 2002/11/03 12:31:15 kls Exp $
*/
#ifndef __DVBDEVICE_H
#define __DVBDEVICE_H
#include <linux/dvb/frontend.h>
+#include <linux/dvb/version.h>
#include "device.h"
#include "dvbspu.h"
#include "eit.h"
+#if DVB_API_VERSION != 3
+#error VDR requires Linux DVB driver API version 3!
+#endif
+
#define MAXDVBDEVICES 4
class cDvbDevice : public cDevice {