mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-20 22:31:23 +01:00
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:
parent
9e39535490
commit
07d436a8b3
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user