mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
f2f5d60a8a
commit
3b85873313
@ -31,6 +31,7 @@
|
||||
#include "bitdht/bencode.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h> /* for usleep() */
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
|
@ -28,6 +28,7 @@
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/ssl.h>
|
||||
|
@ -59,6 +59,7 @@
|
||||
|
||||
#include "serialiser/rsconfigitems.h"
|
||||
#include <stdio.h>
|
||||
#include <unistd.h> /* for (u)sleep() */
|
||||
#include <sstream>
|
||||
|
||||
/******
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -34,6 +34,7 @@
|
||||
|
||||
#include <util/rsdir.h>
|
||||
#include <util/pgpkey.h>
|
||||
#include <unistd.h> /* for (u)sleep() */
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <algorithm>
|
||||
|
@ -23,6 +23,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <unistd.h>
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
#include <stdio.h>
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include <errno.h>
|
||||
#include <iostream>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "util/rsdebug.h"
|
||||
#include <sstream>
|
||||
|
@ -39,6 +39,7 @@
|
||||
|
||||
#include "util/rsdebug.h"
|
||||
#include <sstream>
|
||||
#include <unistd.h>
|
||||
|
||||
const int pqissllistenzone = 49787;
|
||||
|
||||
|
@ -30,6 +30,7 @@
|
||||
|
||||
#include "tcponudp/tou.h"
|
||||
#include <sstream>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "pqi/authssl.h"
|
||||
#include <sys/time.h>
|
||||
|
@ -25,6 +25,7 @@
|
||||
|
||||
//#define P3TURTLE_DEBUG
|
||||
|
||||
#include <unistd.h>
|
||||
#include <stdexcept>
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
|
@ -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[])
|
||||
{
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include "notifytxt.h"
|
||||
#include <retroshare/rspeers.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
@ -30,6 +30,7 @@
|
||||
|
||||
#include "notifytxt.h"
|
||||
|
||||
#include <unistd.h>
|
||||
#include <iostream>
|
||||
#ifdef WINDOWS_SYS
|
||||
#include <winsock2.h>
|
||||
|
Loading…
Reference in New Issue
Block a user