diff --git a/libretroshare/src/pqi/p3connmgr.cc b/libretroshare/src/pqi/p3connmgr.cc index 5d3f7ba2f..f61040f6a 100644 --- a/libretroshare/src/pqi/p3connmgr.cc +++ b/libretroshare/src/pqi/p3connmgr.cc @@ -2906,7 +2906,6 @@ bool p3ConnectMgr::setLocation(std::string id, std::string location) /* check if it is a friend */ std::map::iterator it; - bool isFriend = false; if (mFriendList.end() == (it = mFriendList.find(id))) { return false; } else { diff --git a/libretroshare/src/services/p3distrib.cc b/libretroshare/src/services/p3distrib.cc index 382de6898..2464fff55 100644 --- a/libretroshare/src/services/p3distrib.cc +++ b/libretroshare/src/services/p3distrib.cc @@ -23,6 +23,10 @@ * */ +#ifdef WINDOWS_SYS +#include "util/rswin.h" +#endif + #include #include #include