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 )