summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/StringCodecs')
-rw-r--r--Swiften/StringCodecs/MD5.h3
-rw-r--r--Swiften/StringCodecs/SHA256.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/Swiften/StringCodecs/MD5.h b/Swiften/StringCodecs/MD5.h
index 5044173..48d62af 100644
--- a/Swiften/StringCodecs/MD5.h
+++ b/Swiften/StringCodecs/MD5.h
@@ -6,13 +6,14 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Base/ByteArray.h>
#include <Swiften/Base/SafeByteArray.h>
namespace Swift {
struct md5_state_s;
- class MD5 {
+ class SWIFTEN_API MD5 {
public:
MD5();
~MD5();
diff --git a/Swiften/StringCodecs/SHA256.h b/Swiften/StringCodecs/SHA256.h
index 28a0e05..fe60f2e 100644
--- a/Swiften/StringCodecs/SHA256.h
+++ b/Swiften/StringCodecs/SHA256.h
@@ -9,11 +9,12 @@
#include <vector>
#include <boost/cstdint.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/ByteArray.h>
#include <Swiften/Base/SafeByteArray.h>
namespace Swift {
- class SHA256 {
+ class SWIFTEN_API SHA256 {
public:
SHA256();