summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-08-12 20:37:48 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-08-12 20:37:48 (GMT)
commit08def2a4b457073087a89a3c63d200cbe86c8c16 (patch)
tree3c7aea2f75274c532e250fe4f46bfbce07f1baa6
parenta17d7fdf1d3c2cf6dceebc6fa2d71879ce838a3f (diff)
downloadswift-contrib-08def2a4b457073087a89a3c63d200cbe86c8c16.zip
swift-contrib-08def2a4b457073087a89a3c63d200cbe86c8c16.tar.bz2
Added missing include.
-rw-r--r--Swiften/StringCodecs/SHA256.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/StringCodecs/SHA256.cpp b/Swiften/StringCodecs/SHA256.cpp
index 02114ca..f92e7af 100644
--- a/Swiften/StringCodecs/SHA256.cpp
+++ b/Swiften/StringCodecs/SHA256.cpp
@@ -2,18 +2,19 @@
* Copyright (c) 2011 Remko Tronçon
* Licensed under the GNU General Public License v3.
* See Documentation/Licenses/GPLv3.txt for more information.
*/
#include <Swiften/StringCodecs/SHA256.h>
#include <cassert>
#include <algorithm>
+#include <string.h>
#pragma GCC diagnostic ignored "-Wold-style-cast"
using namespace Swift;
// Copied & adapted from LibTomCrypt, by Tom St Denis, tomstdenis@gmail.com, http://libtom.org
// Substituted some macros by the platform-independent (slower) variants
#include <stdlib.h>