changeset 4823:d25b898c4c44

Make old and new lirc support independant from each other
author albeu
date Sat, 23 Feb 2002 21:18:40 +0000
parents 3e2c7bf57035
children e2df1d29d0f7
files input/lirc.c lirc_mp.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/input/lirc.c	Sat Feb 23 21:17:26 2002 +0000
+++ b/input/lirc.c	Sat Feb 23 21:18:40 2002 +0000
@@ -20,7 +20,7 @@
 #include "../help_mp.h"
 
 static struct lirc_config *lirc_config;
-extern char *lirc_configfile;
+char *lirc_configfile;
 
 static int child_pid=0;
 
--- a/lirc_mp.c	Sat Feb 23 21:17:26 2002 +0000
+++ b/lirc_mp.c	Sat Feb 23 21:18:40 2002 +0000
@@ -13,7 +13,7 @@
 // hack, will be remove later when ./configure fixed...
 #include "config.h"
 
-#ifdef HAVE_LIRC
+#if defined(HAVE_LIRC) && ! defined (HAVE_NEW_INPUT)
 
 #include "mp_msg.h"
 #include "help_mp.h"