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