summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools.c b/tools.c
index caf4cd1..c1fc22a 100644
--- a/tools.c
+++ b/tools.c
@@ -206,7 +206,11 @@ bool MoveRename(const char *OldName,const char *NewName,cRecording *Recording,bo
// --- myRecListItem ----------------------------------------------------------
bool myRecListItem::SortByName=false;
+#if VDRVERSNUM >= 20301
myRecListItem::myRecListItem(const cRecording *Recording)
+#else
+myRecListItem::myRecListItem(cRecording *Recording)
+#endif
{
recording=(cRecording *)Recording;
filename=strdup(recording->FileName());