From e60f980831b4761b1102f1b2bfffc43b9d6a69e6 Mon Sep 17 00:00:00 2001 From: John Bytheway Date: Wed, 23 Jan 2019 20:52:48 +0000 Subject: [PATCH] Fix missing include in posix_time.cpp This was removed in #27785 from posix_time.h and should have been added back into posix_time.cpp, but wasn't. Has been breaking the Mingw CI. --- src/posix_time.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/posix_time.cpp b/src/posix_time.cpp index 750936621ffd5..f4fe962dbdac9 100644 --- a/src/posix_time.cpp +++ b/src/posix_time.cpp @@ -1,6 +1,8 @@ #include "posix_time.h" #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ +#include + int nanosleep( const struct timespec *requested_delay, struct timespec *remaining_delay )