Include sys/time.h on BSD

This commit is contained in:
fluffypony 2014-09-10 13:58:43 +02:00
parent a8d043b6dd
commit 110f110181
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,8 @@ static const char _NR[] = {
// FreeBSD also doesn't need timeb.h // FreeBSD also doesn't need timeb.h
#ifndef __FreeBSD__ #ifndef __FreeBSD__
#include <sys/timeb.h> #include <sys/timeb.h>
#else
#include <sys/time.h>
#endif #endif
#ifdef WIN32 #ifdef WIN32