From 58a460f442dd85a351cc19edaf390936836dfe1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Tue, 5 Mar 2013 19:30:05 +0100
Subject: Fix DLL linkage.

Change-Id: Ia1ded5b7d4d7df500fc1df1a741a56d81de16b67

diff --git a/Swiften/History/SQLiteHistoryStorage.h b/Swiften/History/SQLiteHistoryStorage.h
index dd526b1..524247d 100644
--- a/Swiften/History/SQLiteHistoryStorage.h
+++ b/Swiften/History/SQLiteHistoryStorage.h
@@ -8,13 +8,14 @@
 
 #include <boost/optional.hpp>
 
+#include <Swiften/Base/API.h>
 #include <Swiften/History/HistoryStorage.h>
 #include <boost/thread.hpp>
 
 struct sqlite3;
 
 namespace Swift {
-	class SQLiteHistoryStorage : public HistoryStorage {
+	class SWIFTEN_API SQLiteHistoryStorage : public HistoryStorage {
 		public:
 			SQLiteHistoryStorage(const std::string& file);
 			~SQLiteHistoryStorage();
diff --git a/Swiften/JID/JID.h b/Swiften/JID/JID.h
index 3ccf7de..ea4bd43 100644
--- a/Swiften/JID/JID.h
+++ b/Swiften/JID/JID.h
@@ -146,7 +146,7 @@ namespace Swift {
 				return compare(b, Swift::JID::WithResource) < 0;
 			}
 
-			friend std::ostream& operator<<(std::ostream& os, const Swift::JID& j);
+			SWIFTEN_API friend std::ostream& operator<<(std::ostream& os, const Swift::JID& j);
 
 			friend bool operator==(const Swift::JID& a, const Swift::JID& b) {
 				return a.compare(b, Swift::JID::WithResource) == 0;
@@ -168,6 +168,6 @@ namespace Swift {
 			std::string resource_;
 	};
 	
-	std::ostream& operator<<(std::ostream& os, const Swift::JID& j);
+	SWIFTEN_API std::ostream& operator<<(std::ostream& os, const Swift::JID& j);
 }
 
-- 
cgit v0.10.2-6-g49f6