diff options
Diffstat (limited to 'Swiften/Base/SafeByteArray.h')
-rw-r--r-- | Swiften/Base/SafeByteArray.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Swiften/Base/SafeByteArray.h b/Swiften/Base/SafeByteArray.h index 1ef1d84..dda51fe 100644 --- a/Swiften/Base/SafeByteArray.h +++ b/Swiften/Base/SafeByteArray.h @@ -8,6 +8,7 @@ #include <vector> +#include <Swiften/Base/API.h> #include <Swiften/Base/SafeAllocator.h> #include <Swiften/Base/ByteArray.h> #include <boost/smart_ptr/make_shared.hpp> @@ -19,7 +20,7 @@ namespace Swift { return SafeByteArray(a.begin(), a.end()); } - SafeByteArray createSafeByteArray(const char* c); + SWIFTEN_API SafeByteArray createSafeByteArray(const char* c); inline SafeByteArray createSafeByteArray(const std::string& s) { return SafeByteArray(s.begin(), s.end()); |