summaryrefslogtreecommitdiff
path: root/tools.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools.h')
-rw-r--r--tools.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/tools.h b/tools.h
index 1672e84..40a47ec 100644
--- a/tools.h
+++ b/tools.h
@@ -1,18 +1,17 @@
#ifndef VDR_LIVE_TOOLS_H
#define VDR_LIVE_TOOLS_H
-#include <ctime>
+// STL headers need to be before VDR tools.h (included by <vdr/channels.h>)
#include <istream>
-#include <locale>
-#include <ostream>
#include <sstream>
#include <stdexcept>
-#include <string>
#include <vector>
+
+#ifndef __STL_CONFIG_H
+// To get rid of the swap definition in vdr/tools.h
+# define __STL_CONFIG_H
+#endif
#include <vdr/channels.h>
-#include <vdr/thread.h>
-#include <vdr/videodir.h>
-#include <vdr/tools.h>
std::istream& operator>>( std::istream& is, tChannelID& ret );