From e824693d64eed0bc3d6e4ef91c09fa67b9ca3486 Mon Sep 17 00:00:00 2001 From: reinelt Date: Mon, 16 Feb 2004 13:03:37 +0000 Subject: [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 --- plugin_dvb.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'plugin_dvb.c') 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 #include #include +#include +#ifdef HAVE_LINUX_DVB_FRONTEND_H #include +#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" -- cgit v1.2.3