Added patch from AC

- add missing includes "unistd.h" for compiling with gcc 4.7.0.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5096 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-04-12 23:29:39 +00:00
parent f2f5d60a8a
commit 3b85873313
14 changed files with 15 additions and 3 deletions

View File

@ -31,6 +31,7 @@
#include "bitdht/bencode.h"
#include <stdlib.h>
#include <unistd.h> /* for usleep() */
#include <iostream>
#include <sstream>
#include <iomanip>

View File

@ -28,6 +28,7 @@
#endif
#include <stdio.h>
#include <unistd.h>
#include <openssl/err.h>
#include <openssl/ssl.h>

View File

@ -59,6 +59,7 @@
#include "serialiser/rsconfigitems.h"
#include <stdio.h>
#include <unistd.h> /* for (u)sleep() */
#include <sstream>
/******

View File

@ -31,6 +31,7 @@
#include "serialiser/rsconfigitems.h"
#include "util/rsdir.h"
#include <stdio.h>
#include <unistd.h> /* for (u)sleep() */
/******
* #define DEBUG_ELIST 1

View File

@ -23,6 +23,8 @@
*
*/
#include <unistd.h> /* for (u)sleep() */
#include <iostream>
#include <sstream>
#include "util/rsdebug.h"
#include "util/rsdir.h"
@ -48,9 +50,6 @@ const int ftserverzone = 29539;
#include "serialiser/rsserviceids.h"
#include <iostream>
#include <sstream>
/***
* #define SERVER_DEBUG 1
* #define DEBUG_TICK 1

View File

@ -34,6 +34,7 @@
#include <util/rsdir.h>
#include <util/pgpkey.h>
#include <unistd.h> /* for (u)sleep() */
#include <iostream>
#include <sstream>
#include <algorithm>

View File

@ -23,6 +23,7 @@
*
*/
#include <unistd.h>
#include <sstream>
#include <iomanip>
#include <stdio.h>

View File

@ -32,6 +32,7 @@
#include <errno.h>
#include <iostream>
#include <stdio.h>
#include <unistd.h>
#include "util/rsdebug.h"
#include <sstream>

View File

@ -39,6 +39,7 @@
#include "util/rsdebug.h"
#include <sstream>
#include <unistd.h>
const int pqissllistenzone = 49787;

View File

@ -30,6 +30,7 @@
#include "tcponudp/tou.h"
#include <sstream>
#include <unistd.h>
#include "pqi/authssl.h"
#include <sys/time.h>

View File

@ -25,6 +25,7 @@
//#define P3TURTLE_DEBUG
#include <unistd.h>
#include <stdexcept>
#include <stdlib.h>
#include <assert.h>

View File

@ -54,6 +54,7 @@
#include <retroshare/rsinit.h>
#include <retroshare/rsiface.h>
#include "gui/notifyqt.h"
#include <unistd.h>
int main(int argc, char *argv[])
{

View File

@ -27,6 +27,7 @@
#include "notifytxt.h"
#include <retroshare/rspeers.h>
#include <string.h>
#include <unistd.h>
#include <iostream>
#include <sstream>

View File

@ -30,6 +30,7 @@
#include "notifytxt.h"
#include <unistd.h>
#include <iostream>
#ifdef WINDOWS_SYS
#include <winsock2.h>