Merge pull request #3167 from xianyi/fix3126

Fix compilation of the benchmarks on older OSX versions
This commit is contained in:
Martin Kroeker 2021-03-27 12:40:42 +01:00 committed by GitHub
commit 903fd85c85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,8 @@
#include <time.h>
#ifdef __CYGWIN32__
#include <sys/time.h>
#elif defined(__APPLE__)
#include <mach/mach_time.h>
#endif
#include "common.h"