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:
stockpicker 2008-11-02 12:59:21 +00:00
parent b987d014e5
commit c0e846f7f7
5 changed files with 6 additions and 2 deletions

View file

@ -26,6 +26,8 @@
#include "rsiface/rsexpr.h" #include "rsiface/rsexpr.h"
#include "util/rsdir.h" #include "util/rsdir.h"
#include <stdlib.h>
#include <algorithm>
#include <iostream> #include <iostream>
#include <sstream> #include <sstream>
#include <iomanip> #include <iomanip>

View file

@ -26,6 +26,7 @@
#include "dbase/findex.h" #include "dbase/findex.h"
#include "rsiface/rsexpr.h" #include "rsiface/rsexpr.h"
#include <algorithm>
#include <functional> #include <functional>

View file

@ -25,7 +25,7 @@
#include "cleanupxpgp.h" #include "cleanupxpgp.h"
#include <iostream> #include <iostream>
#include <string.h> #strlen
/* /*
Method for cleaning up the certificate. This method removes any unnecessay white spaces and unnecessary Method for cleaning up the certificate. This method removes any unnecessay white spaces and unnecessary

View file

@ -105,7 +105,7 @@ std::ostream &showSocketError(std::ostream &out);
std::string socket_errorType(int err); std::string socket_errorType(int err);
int sockaddr_cmp(struct sockaddr_in &addr1, struct sockaddr_in &addr2 ); 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); int inaddr_cmp(struct sockaddr_in addr1, unsigned long);
struct in_addr getPreferredInterface(); // returns best addr. struct in_addr getPreferredInterface(); // returns best addr.

View file

@ -27,6 +27,7 @@
#include "pqi/pqisecurity.h" #include "pqi/pqisecurity.h"
#include <stdlib.h> #malloc
// Can keep the structure hidden.... // Can keep the structure hidden....