summaryrefslogtreecommitdiff
path: root/pages/vlc.ecpp
diff options
context:
space:
mode:
Diffstat (limited to 'pages/vlc.ecpp')
-rw-r--r--pages/vlc.ecpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/pages/vlc.ecpp b/pages/vlc.ecpp
index 065969c..d1f1405 100644
--- a/pages/vlc.ecpp
+++ b/pages/vlc.ecpp
@@ -5,6 +5,7 @@
#include "setup.h"
#include "tools.h"
#include "users.h"
+#include "tntfeatures.h"
using namespace std;
using namespace vdrlive;
@@ -97,7 +98,7 @@ using namespace vdrlive;
}
</%cpp>
<%cpp>
-#if TNTVERSION >= 1606
+#if TNT_HAS_GETHOST
string server = request.getHost();
server = server.substr(0, server.rfind(':'));
#else