summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Kendall <mkendall@mythtv.org>2011-01-29 07:31:58 (GMT)
committer Mark Kendall <mkendall@mythtv.org>2011-01-29 07:31:58 (GMT)
commitc2e4cd057bb284cd310fdaf37ad571f051ea30fc (patch)
tree77992786900989de9fd759c273a533315bd22dae
parentf49b7fe9b891a066ea4b38dd1f272463d62f1236 (diff)
Fix compilation of MythDownloadManager.
-rw-r--r--mythtv/libs/libmythbase/mythdownloadmanager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/mythtv/libs/libmythbase/mythdownloadmanager.cpp b/mythtv/libs/libmythbase/mythdownloadmanager.cpp
index 3a7d6ae..4c6bad4 100644
--- a/mythtv/libs/libmythbase/mythdownloadmanager.cpp
+++ b/mythtv/libs/libmythbase/mythdownloadmanager.cpp
@@ -6,6 +6,8 @@
#include <QDir>
#include <QThreadPool>
+#include "stdlib.h"
+
// libmythbase
#include "compat.h"
#include "mythcorecontext.h"
@@ -113,7 +115,7 @@ class RemoteFileDownloadThread : public QRunnable
/** \fn ShutdownMythDownloadManager(void)
* \brief Deletes the running MythDownloadManager at program exit.
*/
-void ShutdownMythDownloadManager(void)
+static void ShutdownMythDownloadManager(void)
{
if (downloadManager)
{