aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHagen Fritsch <fritsch+git@in.tum.de>2013-02-27 19:42:32 +0100
committerMax Kellermann <max@duempel.org>2013-02-27 19:42:35 +0100
commit28a60db5aa4c368e221595444b76c66ba1fe6960 (patch)
treecf0bbd392e1a5684094869aee98f3d8c80b58964 /src
parentd5b756413a1ea432e8e580b27fef004223895f07 (diff)
downloadmpd-28a60db5aa4c368e221595444b76c66ba1fe6960.tar.gz
mpd-28a60db5aa4c368e221595444b76c66ba1fe6960.tar.xz
mpd-28a60db5aa4c368e221595444b76c66ba1fe6960.zip
clock: add missing include
Diffstat (limited to 'src')
-rw-r--r--src/clock.c3
1 files changed, 3 insertions, 0 deletions
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