1 #ifndef WIN32_LEAN_AND_MEAN
2 #define WIN32_LEAN_AND_MEAN
3 #endif
4 #include <windows.h>
5 #include <sys/types.h>
6 #include <errno.h>
7 
8 int __cdecl usleep (useconds_t);
9 
10 int __cdecl
usleep(useconds_t us)11 usleep (useconds_t us)
12 {
13   if (us != 0)
14     Sleep (us / 1000);
15 
16   return 0;
17 }
18 
19