diff options
author | reinelt <> | 2004-02-16 13:03:37 +0000 |
---|---|---|
committer | reinelt <> | 2004-02-16 13:03:37 +0000 |
commit | 53aa30c03a500767a3507d6fecbb7684515c38e6 (patch) | |
tree | 8c8b8185196e5d62e9f7fd947d0c4a4d69e7a371 | |
parent | 5f70768ef0c383039937324415c2bb7640d1c871 (diff) | |
download | lcd4linux-53aa30c03a500767a3507d6fecbb7684515c38e6.tar.gz |
[lcd4linux @ 2004-02-16 13:03:37 by reinelt]
compile problem with missing frontend.h fixed
Diffstat (limited to '')
-rw-r--r-- | plugin_dvb.c | 14 |
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" |