diff --git a/src/tvheadend.h b/src/tvheadend.h index b66ba756..1d8cc9f6 100644 --- a/src/tvheadend.h +++ b/src/tvheadend.h @@ -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) {