summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2012-05-23 19:50:41 (GMT)
committerDimitar Petrovski <dimeptr@gmail.com>2012-05-23 19:50:41 (GMT)
commit07e0eccce3b565fb13f2d675f6eddc38c4917b89 (patch)
treebaad384253eff0d29559ed871f04ac524e49727d
parent61eded224bc4660b41f6754e83b91a262af3f8ce (diff)
downloadvdr-plugin-eepg-07e0eccce3b565fb13f2d675f6eddc38c4917b89.tar.gz
vdr-plugin-eepg-07e0eccce3b565fb13f2d675f6eddc38c4917b89.tar.bz2
partial compile fix
-rw-r--r--Makefile2
-rw-r--r--equivhandler.c (renamed from equivhandler.cpp)4
-rw-r--r--equivhandler.h1
3 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a2d413e..b020216 100644
--- a/Makefile
+++ b/Makefile
@@ -65,7 +65,7 @@ DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
### The object files (add further files here):
-OBJS = $(PLUGIN).o dish.o epghandler.o setupeepg.o
+OBJS = $(PLUGIN).o dish.o epghandler.o setupeepg.o equivhandler.o
ifdef DBG
CXXFLAGS += -g
diff --git a/equivhandler.cpp b/equivhandler.c
index 4868f88..3088027 100644
--- a/equivhandler.cpp
+++ b/equivhandler.c
@@ -12,8 +12,8 @@
#include <string>
-static multimap<string, string> cEquivHandler::equiChanMap;
-static long cEquivHandler::equiChanFileTime = 0;
+multimap<string, string> cEquivHandler::equiChanMap;
+long cEquivHandler::equiChanFileTime = 0;
cEquivHandler::cEquivHandler()
{
diff --git a/equivhandler.h b/equivhandler.h
index da2d7d9..fdfd343 100644
--- a/equivhandler.h
+++ b/equivhandler.h
@@ -11,6 +11,7 @@
#include <vdr/epg.h>
#include <vdr/channels.h>
#include <map>
+#include <string>
#define EEPG_FILE_EQUIV "eepg.equiv"