Code maintenance for Qt 5:

- Added some more includes needed by MinGW-w64

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6860 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2013-10-21 11:00:49 +00:00
parent 3a72b27632
commit 9095e9bd75
31 changed files with 44 additions and 3 deletions

View file

@ -92,7 +92,7 @@ static void locking_function(int mode, int n, const char */*file*/, int /*line*/
*/
static unsigned long id_function(void)
{
#ifdef WINDOWS_SYS
#if defined( WINDOWS_SYS) && !defined(WIN_PTHREADS_H)
return (unsigned long) pthread_self().p;
#else
return (unsigned long) pthread_self();

View file

@ -27,6 +27,7 @@
#include <iomanip>
#include <stdio.h>
#include <openssl/sha.h>
#include <time.h>
#include "pqi/p3dhtmgr.h"
#include "pqi/p3peermgr.h"

View file

@ -23,6 +23,8 @@
*
*/
#include <time.h>
#include "p3historymgr.h"
#include "serialiser/rshistoryitems.h"
#include "serialiser/rsconfigitems.h"

View file

@ -23,6 +23,8 @@
*
*/
#include <time.h>
#include "pqi/p3netmgr.h"
#include "pqi/p3peermgr.h"

View file

@ -28,6 +28,7 @@
#include "util/rsdebug.h"
#include "util/rsstring.h"
#include <stdlib.h>
#include <time.h>
const int pqihandlerzone = 34283;
static const int PQI_HANDLER_NB_PRIORITY_LEVELS = 10 ;

View file

@ -26,6 +26,7 @@
#include <iostream>
#include <fstream>
#include <time.h>
#include "util/rsdebug.h"
#include "util/rsstring.h"