Fix compilation bug when clock_gettime missing

This commit is contained in:
Keith Winstein
2013-01-14 22:25:03 -05:00
parent 438d0d8b9a
commit e9c4184c27
+1
View File
@@ -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;