summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Swiften/Base/BoostFilesystemVersion.h10
-rw-r--r--Swiften/FileTransfer/FileTransferManagerImpl.cpp2
-rw-r--r--Swiftob/LuaCommands.cpp2
3 files changed, 14 insertions, 0 deletions
diff --git a/Swiften/Base/BoostFilesystemVersion.h b/Swiften/Base/BoostFilesystemVersion.h
new file mode 100644
index 0000000..1b1676c
--- /dev/null
+++ b/Swiften/Base/BoostFilesystemVersion.h
@@ -0,0 +1,10 @@
+/*
+ * Copyright (c) 2010-2012 Kevin Smith
+ * Licensed under the GNU General Public License v3.
+ * See Documentation/Licenses/GPLv3.txt for more information.
+ */
+#pragma once
+
+#ifndef BOOST_FILESYSTEM_VERSION
+#define BOOST_FILESYSTEM_VERSION 2
+#endif
diff --git a/Swiften/FileTransfer/FileTransferManagerImpl.cpp b/Swiften/FileTransfer/FileTransferManagerImpl.cpp
index 7fd8b07..84b2061 100644
--- a/Swiften/FileTransfer/FileTransferManagerImpl.cpp
+++ b/Swiften/FileTransfer/FileTransferManagerImpl.cpp
@@ -29,6 +29,8 @@
#include <Swiften/Network/HostAddress.h>
#include <Swiften/Network/NATTraverser.h>
+#include <Swiften/Base/BoostFilesystemVersion.h>
+
namespace Swift {
FileTransferManagerImpl::FileTransferManagerImpl(const JID& ownFullJID, JingleSessionManager* jingleSessionManager, IQRouter* router, EntityCapsProvider* capsProvider, PresenceOracle* presOracle, ConnectionFactory* connectionFactory, ConnectionServerFactory* connectionServerFactory, TimerFactory* timerFactory, NATTraverser* natTraverser) : ownJID(ownFullJID), jingleSM(jingleSessionManager), iqRouter(router), capsProvider(capsProvider), presenceOracle(presOracle), connectionServerFactory(connectionServerFactory), bytestreamServer(NULL), s5bProxyFinder(NULL) {
diff --git a/Swiftob/LuaCommands.cpp b/Swiftob/LuaCommands.cpp
index 89f5159..d27c131 100644
--- a/Swiftob/LuaCommands.cpp
+++ b/Swiftob/LuaCommands.cpp
@@ -18,6 +18,8 @@
#include <Swiftob/Commands.h>
+#include <Swiften/Base/BoostFilesystemVersion.h>
+
#define LUA_COMMANDS "__Lua_Commands"
#define STORAGE "__Storage"