clock: add missing include

This commit is contained in:
Hagen Fritsch 2013-02-27 19:42:32 +01:00 committed by Max Kellermann
parent d5b756413a
commit 28a60db5aa
2 changed files with 4 additions and 0 deletions

1
NEWS
View File

@ -5,6 +5,7 @@ ver 0.17.4 (2013/??/??)
- ffmpeg: support float planar audio (ffmpeg 1.1) - ffmpeg: support float planar audio (ffmpeg 1.1)
* player: * player:
- implement missing "idle" events on output errors - implement missing "idle" events on output errors
* clock: fix build failure
ver 0.17.3 (2013/01/06) ver 0.17.3 (2013/01/06)

View File

@ -25,6 +25,9 @@
#include <mach/mach_time.h> #include <mach/mach_time.h>
#else #else
#include <time.h> #include <time.h>
#ifndef CLOCK_MONOTONIC
#include <sys/time.h>
#endif
#endif #endif
unsigned unsigned