Skip to content

Commit 903fd85

Browse files
authored
Merge pull request #3167 from xianyi/fix3126
Fix compilation of the benchmarks on older OSX versions
2 parents d7efe58 + d57c681 commit 903fd85

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

benchmark/bench.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
#include <time.h>
44
#ifdef __CYGWIN32__
55
#include <sys/time.h>
6+
#elif defined(__APPLE__)
7+
#include <mach/mach_time.h>
68
#endif
79
#include "common.h"
810

0 commit comments

Comments
 (0)