Skip to content

Commit

Permalink
Fix compilation bug when clock_gettime missing
Browse files Browse the repository at this point in the history
  • Loading branch information
keithw committed Jan 15, 2013
1 parent 438d0d8 commit e9c4184
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util/timestamp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e9c4184

Please sign in to comment.