add include for latest gcc. Comment usleep fonction in tou_net.h

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2101 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
joss17 2010-01-20 22:02:43 +00:00
parent 074671af29
commit f481dbef59
8 changed files with 8 additions and 1 deletions

View File

@ -3,6 +3,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <rsiface/rspeers.h> #include <rsiface/rspeers.h>
#include "ftchunkmap.h" #include "ftchunkmap.h"
#include <time.h>
static const uint32_t SOURCE_CHUNK_MAP_UPDATE_PERIOD = 60 ; //! TTL for chunkmap info static const uint32_t SOURCE_CHUNK_MAP_UPDATE_PERIOD = 60 ; //! TTL for chunkmap info

View File

@ -47,6 +47,7 @@
#include <sstream> #include <sstream>
#include "util/rsdebug.h" #include "util/rsdebug.h"
#include <time.h>
const int pqiarchivezone = 9326; const int pqiarchivezone = 9326;

View File

@ -118,7 +118,7 @@ int tounet_w2u_errno(int error);
* void Sleep(int ms); * void Sleep(int ms);
*/ */
void sleep(int sec); void sleep(int sec);
void usleep(int usec); //void usleep(int usec);
#endif #endif
/********************************** WINDOWS/UNIX SPECIFIC PART ******************/ /********************************** WINDOWS/UNIX SPECIFIC PART ******************/

View File

@ -28,6 +28,7 @@
#include <QFileDialog> #include <QFileDialog>
#include <QMessageBox> #include <QMessageBox>
#include <QMovie> #include <QMovie>
#include <time.h>
#include <util/WidgetBackgroundImage.h> #include <util/WidgetBackgroundImage.h>

View File

@ -44,6 +44,7 @@
#include "gui/forums/CreateForum.h" #include "gui/forums/CreateForum.h"
#include <sstream> #include <sstream>
#include <time.h>
#include <QTextCodec> #include <QTextCodec>
#include <QTextEdit> #include <QTextEdit>

View File

@ -41,6 +41,7 @@
#include "rsiface/rsfiles.h" #include "rsiface/rsfiles.h"
#include "gui/feeds/SubFileItem.h" #include "gui/feeds/SubFileItem.h"
#include <time.h>
#define appDir QApplication::applicationDirPath() #define appDir QApplication::applicationDirPath()

View File

@ -27,6 +27,7 @@
#include <iostream> #include <iostream>
#include <sstream> #include <sstream>
#include <time.h>
/***** /*****
* #define DEBUG_ITEM 1 * #define DEBUG_ITEM 1

View File

@ -23,6 +23,7 @@
#include <iostream> #include <iostream>
#include <sstream> #include <sstream>
#include <time.h>
/***** /*****
* #define NOTIFY_DEBUG * #define NOTIFY_DEBUG