Ensure time.h is included

This commit is contained in:
Jack Andersen 2019-04-06 19:00:24 -10:00
parent e28b6551d0
commit 9dd968dd66
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,8 @@
#include <sys/time.h>
#if __APPLE__
#include <mach/mach_time.h>
#elif __linux__ || __FreeBSD__
#include <time.h>
#endif
#else
#ifndef WIN32_LEAN_AND_MEAN