From db263b160cf1161391cb30e9f70cc04941242230 Mon Sep 17 00:00:00 2001 From: stockpicker Date: Sun, 2 Nov 2008 13:53:17 +0000 Subject: [PATCH] Fixes missing includes and strict gcc 4 code checks for Linux git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@787 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/ft/ftfilecreatortest.cc | 1 + libretroshare/src/ft/ftfileprovider.cc | 1 + libretroshare/src/ft/ftfileprovidertest.cc | 2 +- libretroshare/src/ft/fttransfermodule.h | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libretroshare/src/ft/ftfilecreatortest.cc b/libretroshare/src/ft/ftfilecreatortest.cc index 79d810755..a8e25dad2 100644 --- a/libretroshare/src/ft/ftfilecreatortest.cc +++ b/libretroshare/src/ft/ftfilecreatortest.cc @@ -1,6 +1,7 @@ #include "ftfilecreator.h" #include "util/utest.h" +#include INITTEST(); diff --git a/libretroshare/src/ft/ftfileprovider.cc b/libretroshare/src/ft/ftfileprovider.cc index d5434505a..52a444bed 100644 --- a/libretroshare/src/ft/ftfileprovider.cc +++ b/libretroshare/src/ft/ftfileprovider.cc @@ -1,6 +1,7 @@ #include "ftfileprovider.h" #include "util/rsdir.h" +#include ftFileProvider::ftFileProvider(std::string path, uint64_t size, std::string hash) : mSize(size), hash(hash), file_name(path), fd(NULL) diff --git a/libretroshare/src/ft/ftfileprovidertest.cc b/libretroshare/src/ft/ftfileprovidertest.cc index 74fa8e9bd..756b9faa8 100644 --- a/libretroshare/src/ft/ftfileprovidertest.cc +++ b/libretroshare/src/ft/ftfileprovidertest.cc @@ -2,7 +2,7 @@ #include "ftfilecreator.h" #include "util/utest.h" - +#include INITTEST() diff --git a/libretroshare/src/ft/fttransfermodule.h b/libretroshare/src/ft/fttransfermodule.h index 621f0ccc7..43b166c00 100644 --- a/libretroshare/src/ft/fttransfermodule.h +++ b/libretroshare/src/ft/fttransfermodule.h @@ -126,7 +126,7 @@ public: class ftTransferModule { public: - ftTransferModule(ftFileCreator *fc, ftDataMultiplex *dm, ftController *fc); + ftTransferModule(ftFileCreator *fc, ftDataMultiplex *dm, ftController *c); ~ftTransferModule(); //interface to download controller