Skip to content

Commit c05e56c

Browse files
committed
Merge pull request pocoproject#691 from cnvandijk/posix-monotonic-clock
Include missing header, fixes pocoproject#690 lack of monotonic Clock on Linux/POSIX
2 parents 9e39535 + 07d436a commit c05e56c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Foundation/src/Clock.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <mach/clock.h>
2323
#elif defined(POCO_OS_FAMILY_UNIX)
2424
#include <time.h>
25+
#include <unistd.h>
2526
#elif defined(POCO_VXWORKS)
2627
#include <timers.h>
2728
#elif defined(POCO_OS_FAMILY_WINDOWS)

0 commit comments

Comments
 (0)