summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-01-27 21:24:16 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-01-27 21:24:16 (GMT)
commit3a2277f5116cbf1ca3bc87ccb45eec5a9f2c80b4 (patch)
tree02c6252e5ed30a82ff3010cbb527436a29a6ad50 /Swiften/QA/TLSTest
parent33f5d90fcf54917e365d9ad4357929a91c31f701 (diff)
downloadswift-contrib-3a2277f5116cbf1ca3bc87ccb45eec5a9f2c80b4.zip
swift-contrib-3a2277f5116cbf1ca3bc87ccb45eec5a9f2c80b4.tar.bz2
Fixed CLang warnings.
Diffstat (limited to 'Swiften/QA/TLSTest')
-rw-r--r--Swiften/QA/TLSTest/CertificateTest.cpp2
-rw-r--r--Swiften/QA/TLSTest/SConscript1
2 files changed, 3 insertions, 0 deletions
diff --git a/Swiften/QA/TLSTest/CertificateTest.cpp b/Swiften/QA/TLSTest/CertificateTest.cpp
index 86e9568..769272b 100644
--- a/Swiften/QA/TLSTest/CertificateTest.cpp
+++ b/Swiften/QA/TLSTest/CertificateTest.cpp
@@ -4,6 +4,8 @@
* See Documentation/Licenses/GPLv3.txt for more information.
*/
+#include <Swiften/Base/ByteArray.h>
+
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <boost/bind.hpp>
diff --git a/Swiften/QA/TLSTest/SConscript b/Swiften/QA/TLSTest/SConscript
index 034336e..14e2de0 100644
--- a/Swiften/QA/TLSTest/SConscript
+++ b/Swiften/QA/TLSTest/SConscript
@@ -13,6 +13,7 @@ if env["TEST"] :
if myenv.get("HAVE_OPENSSL") :
myenv.MergeFlags(myenv["OPENSSL_FLAGS"])
myenv.Append(CPPDEFINES = ["HAVE_OPENSSL"])
+ myenv.MergeFlags(myenv["PLATFORM_FLAGS"])
tester = myenv.Program("TLSTest", [
"CertificateTest.cpp",