Added missing include files

This commit is contained in:
Benoit Steiner
2015-05-28 07:57:28 -07:00
parent abec18bae0
commit f13b3d4433
2 changed files with 9 additions and 1 deletions

View File

@@ -196,7 +196,7 @@ int get_random_seed() {
GetSystemTime(&st);
return st.wSecond + 1000 * st.wMilliseconds;
#elif defined __APPLE__
return mach_absolute_time();
return static_cast<int>(mach_absolute_time());
#else
timespec ts;
clock_gettime(CLOCK_REALTIME, &ts);