mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-19 04:44:21 -05:00
Fixes missing includes and strict gcc 4 code checks for Linux
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@785 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b987d014e5
commit
c0e846f7f7
@ -26,6 +26,8 @@
|
||||
#include "rsiface/rsexpr.h"
|
||||
#include "util/rsdir.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
|
@ -26,6 +26,7 @@
|
||||
|
||||
#include "dbase/findex.h"
|
||||
#include "rsiface/rsexpr.h"
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
#include "cleanupxpgp.h"
|
||||
#include <iostream>
|
||||
|
||||
#include <string.h> #strlen
|
||||
|
||||
/*
|
||||
Method for cleaning up the certificate. This method removes any unnecessay white spaces and unnecessary
|
||||
|
@ -105,7 +105,7 @@ std::ostream &showSocketError(std::ostream &out);
|
||||
|
||||
std::string socket_errorType(int err);
|
||||
int sockaddr_cmp(struct sockaddr_in &addr1, struct sockaddr_in &addr2 );
|
||||
int inaddr_cmp(struct sockaddr_in addr1, struct sockaddr_in addr1 );
|
||||
int inaddr_cmp(struct sockaddr_in addr1, struct sockaddr_in addr2 );
|
||||
int inaddr_cmp(struct sockaddr_in addr1, unsigned long);
|
||||
|
||||
struct in_addr getPreferredInterface(); // returns best addr.
|
||||
|
@ -27,6 +27,7 @@
|
||||
|
||||
|
||||
#include "pqi/pqisecurity.h"
|
||||
#include <stdlib.h> #malloc
|
||||
|
||||
|
||||
// Can keep the structure hidden....
|
||||
|
Loading…
Reference in New Issue
Block a user