diff options
author | Hagen Fritsch <fritsch+git@in.tum.de> | 2013-02-27 19:42:32 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-02-27 19:42:35 +0100 |
commit | 28a60db5aa4c368e221595444b76c66ba1fe6960 (patch) | |
tree | cf0bbd392e1a5684094869aee98f3d8c80b58964 | |
parent | d5b756413a1ea432e8e580b27fef004223895f07 (diff) | |
download | mpd-28a60db5aa4c368e221595444b76c66ba1fe6960.tar.gz mpd-28a60db5aa4c368e221595444b76c66ba1fe6960.tar.xz mpd-28a60db5aa4c368e221595444b76c66ba1fe6960.zip |
clock: add missing include
-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 |