summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"