aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-02-16 13:03:37 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-02-16 13:03:37 +0000
commite824693d64eed0bc3d6e4ef91c09fa67b9ca3486 (patch)
tree8c8b8185196e5d62e9f7fd947d0c4a4d69e7a371
parent48303aa075f9f6160fe2bc5b4781408892558b7c (diff)
downloadlcd4linux-e824693d64eed0bc3d6e4ef91c09fa67b9ca3486.tar.gz
[lcd4linux @ 2004-02-16 13:03:37 by reinelt]
compile problem with missing frontend.h fixed git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@369 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
-rw-r--r--plugin_dvb.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/plugin_dvb.c b/plugin_dvb.c
index b44f396..a834db1 100644
--- a/plugin_dvb.c
+++ b/plugin_dvb.c
@@ -1,4 +1,4 @@
-/* $Id: plugin_dvb.c,v 1.1 2004/02/10 06:54:39 reinelt Exp $
+/* $Id: plugin_dvb.c,v 1.2 2004/02/16 13:03:37 reinelt Exp $
*
* plugin for DVB status
*
@@ -23,6 +23,9 @@
*
*
* $Log: plugin_dvb.c,v $
+ * Revision 1.2 2004/02/16 13:03:37 reinelt
+ * compile problem with missing frontend.h fixed
+ *
* Revision 1.1 2004/02/10 06:54:39 reinelt
* DVB plugin ported
*
@@ -46,8 +49,17 @@
#include <errno.h>
#include <sys/ioctl.h>
#include <sys/types.h>
+#include <asm/types.h>
+#ifdef HAVE_LINUX_DVB_FRONTEND_H
#include <linux/dvb/frontend.h>
+#else
+#warning linux/dvb/frontend.h not found: using hardcoded ioctl definitions
+#define FE_READ_BER _IOR('o', 70, __u32)
+#define FE_READ_SIGNAL_STRENGTH _IOR('o', 71, __u16)
+#define FE_READ_SNR _IOR('o', 72, __u16)
+#define FE_READ_UNCORRECTED_BLOCKS _IOR('o', 73, __u32)
+#endif
#include "debug.h"
#include "plugin.h"