diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/clock.c | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -5,6 +5,7 @@ ver 0.17.4 (2013/??/??) - ffmpeg: support float planar audio (ffmpeg 1.1) * player: - implement missing "idle" events on output errors +* clock: fix build failure ver 0.17.3 (2013/01/06) diff --git a/src/clock.c b/src/clock.c index 4100fa2d8..dcdf685ab 100644 --- a/src/clock.c +++ b/src/clock.c @@ -25,6 +25,9 @@ #include <mach/mach_time.h> #else #include <time.h> +#ifndef CLOCK_MONOTONIC +#include <sys/time.h> +#endif #endif unsigned |