From 07d436a8b3c9ca6c5f35bb803b5a5790a88784ce Mon Sep 17 00:00:00 2001 From: Chris van Dijk Date: Mon, 26 Jan 2015 01:07:29 +0100 Subject: [PATCH] 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. --- Foundation/src/Clock.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Foundation/src/Clock.cpp b/Foundation/src/Clock.cpp index 6000ef38b..ac95bfc80 100644 --- a/Foundation/src/Clock.cpp +++ b/Foundation/src/Clock.cpp @@ -22,6 +22,7 @@ #include #elif defined(POCO_OS_FAMILY_UNIX) #include +#include #elif defined(POCO_VXWORKS) #include #elif defined(POCO_OS_FAMILY_WINDOWS)