diff --git a/libretroshare/src/services/p3heartbeat.cc b/libretroshare/src/services/p3heartbeat.cc index 18d433732..8e14627ed 100644 --- a/libretroshare/src/services/p3heartbeat.cc +++ b/libretroshare/src/services/p3heartbeat.cc @@ -23,6 +23,8 @@ * */ +#include + #include "services/p3heartbeat.h" #include "serialiser/rsheartbeatitems.h" diff --git a/openpgpsdk/src/openpgpsdk.pro b/openpgpsdk/src/openpgpsdk.pro index 74df71f02..e0c31fa8d 100644 --- a/openpgpsdk/src/openpgpsdk.pro +++ b/openpgpsdk/src/openpgpsdk.pro @@ -1,5 +1,9 @@ TEMPLATE = lib -CONFIG = staticlib debug +win32 { + CONFIG += staticlib +} else { + CONFIG = staticlib debug +} DEFINES *= OPENSSL_NO_IDEA diff --git a/plugins/FeedReader/FeedReader.pro b/plugins/FeedReader/FeedReader.pro index 7dd15533f..55c155d7a 100644 --- a/plugins/FeedReader/FeedReader.pro +++ b/plugins/FeedReader/FeedReader.pro @@ -1,8 +1,3 @@ -win32 { - # Fix double defined symbols BIO_* (Find a better solution) - LIBS += -lcrypto -} - !include("../Common/retroshare_plugin.pri"): error("Could not include file ../Common/retroshare_plugin.pri") CONFIG += qt uic qrc resources @@ -101,8 +96,8 @@ win32 { INCLUDEPATH += $${CURL_DIR}/include $${LIBXML2_DIR}/include $${LIBXSLT_DIR} $${LIBICONV_DIR}/include - LIBS += -lcurl -lxml2 -lxslt -lws2_32 -lwldap32 - LIBS += -lssl -lcrypto -lgdi32 -lwsock32 + # Change order of the libraries + LIBS = -lcurl -lxml2 -lz -lxslt -lws2_32 -lwldap32 -lssl -lcrypto -lgdi32 -lwsock32 $${LIBS} } openbsd-* {