fix compilation error on older systems where CLOCK_MONOTONIC_COARSE is not defined.

This commit is contained in:
John Törnblom 2012-09-06 14:49:28 +02:00
parent 4300857586
commit 7cd0a15527

View file

@ -385,6 +385,10 @@ extern int log_debug;
} while(0)
#ifndef CLOCK_MONOTONIC_COARSE
#define CLOCK_MONOTONIC_COARSE CLOCK_MONOTONIC
#endif
static inline int64_t
getmonoclock(void)
{