diff --git Swiften/Base/Algorithm.h Swiften/Base/Algorithm.h
index 4e68e70..0382a63 100644
--- Swiften/Base/Algorithm.h
+++ Swiften/Base/Algorithm.h
@@ -10,6 +10,7 @@
 #include <list>
 #include <map>
 #include <algorithm>
+#include <string>
 
 namespace Swift {
 

