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@6861 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2013-10-21 11:11:27 +00:00
parent 9095e9bd75
commit ec08eba2c9
2 changed files with 3 additions and 1 deletions

View File

@ -31,6 +31,7 @@
#include <iomanip>
#include <string.h>
#include <stdlib.h>
#include <time.h>
/***
* #define UDP_ENABLE_BROADCAST 1

View File

@ -1,13 +1,14 @@
#include <stdlib.h>
#include <string>
#include <unistd.h>
#include <time.h>
#include "util/bdrandom.h"
uint32_t bdRandom::index = 0 ;
std::vector<uint32_t> bdRandom::MT(bdRandom::N,0u) ;
bdMutex bdRandom::rndMtx ;
#if defined(_WIN32) || defined(__MINGW32__)
#if (defined(_WIN32) || defined(__MINGW32__)) && !defined(WIN_PTHREADS_H)
static bool auto_seed = bdRandom::seed( (time(NULL) + ((uint32_t) pthread_self().p)*0x1293fe)^0x18e34a12 ) ;
#else
#ifdef __APPLE__