Include missing header, fixes #690 lack of monotonic Clock on Linux/POSIX

The macros _POSIX_TIMERS and _POSIX_MONOTONIC_CLOCK are defined in
(includes of) unistd.h, without them Clock falls back to using Timestamp
internally.
This commit is contained in:
Chris van Dijk 2015-01-26 01:07:29 +01:00
parent 9e39535490
commit 07d436a8b3

View File

@ -22,6 +22,7 @@
#include <mach/clock.h>
#elif defined(POCO_OS_FAMILY_UNIX)
#include <time.h>
#include <unistd.h>
#elif defined(POCO_VXWORKS)
#include <timers.h>
#elif defined(POCO_OS_FAMILY_WINDOWS)