mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-05 15:45:04 -04:00
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
This commit is contained in:
parent
c222c354d6
commit
db263b160c
4 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
#include "ftfilecreator.h"
|
#include "ftfilecreator.h"
|
||||||
|
|
||||||
#include "util/utest.h"
|
#include "util/utest.h"
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
INITTEST();
|
INITTEST();
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#include "ftfileprovider.h"
|
#include "ftfileprovider.h"
|
||||||
|
|
||||||
#include "util/rsdir.h"
|
#include "util/rsdir.h"
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
ftFileProvider::ftFileProvider(std::string path, uint64_t size, std::string
|
ftFileProvider::ftFileProvider(std::string path, uint64_t size, std::string
|
||||||
hash) : mSize(size), hash(hash), file_name(path), fd(NULL)
|
hash) : mSize(size), hash(hash), file_name(path), fd(NULL)
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#include "ftfilecreator.h"
|
#include "ftfilecreator.h"
|
||||||
|
|
||||||
#include "util/utest.h"
|
#include "util/utest.h"
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
INITTEST()
|
INITTEST()
|
||||||
|
|
||||||
|
|
|
@ -126,7 +126,7 @@ public:
|
||||||
class ftTransferModule
|
class ftTransferModule
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ftTransferModule(ftFileCreator *fc, ftDataMultiplex *dm, ftController *fc);
|
ftTransferModule(ftFileCreator *fc, ftDataMultiplex *dm, ftController *c);
|
||||||
~ftTransferModule();
|
~ftTransferModule();
|
||||||
|
|
||||||
//interface to download controller
|
//interface to download controller
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue