Fix compilation bug when clock_gettime missing
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
#include <mach/mach_time.h>
|
||||
#elif HAVE_GETTIMEOFDAY
|
||||
#include <sys/time.h>
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
static uint64_t millis_cache = -1;
|
||||
|
||||
Reference in New Issue
Block a user