diff --git a/winsup/cygwin/signal.cc b/winsup/cygwin/signal.cc index 9b6c2509d..8175de07b 100644 --- a/winsup/cygwin/signal.cc +++ b/winsup/cygwin/signal.cc @@ -11,6 +11,7 @@ details. */ #include "winsup.h" #include +#include #include #include #include "pinfo.h" @@ -174,7 +175,7 @@ sleep (unsigned int seconds) return 0; } -extern "C" unsigned int +extern "C" int usleep (useconds_t useconds) { struct timespec req;