diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index f3bcac30b..da2e79464 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,6 +1,6 @@ 2008-05-04 Ramiro Polla - * include/sys/time.h (useconds_t): typedef. + * include/sys/types.h (useconds_t): typedef. * include/unistd.h (usleep): Add prototype. * mingwex/usleep.c: New file. * mingwex/makefile.in: Add usleep source and object. diff --git a/winsup/mingw/include/sys/types.h b/winsup/mingw/include/sys/types.h index 2bc04e755..ed25e5270 100644 --- a/winsup/mingw/include/sys/types.h +++ b/winsup/mingw/include/sys/types.h @@ -115,6 +115,10 @@ typedef long long fpos64_t; typedef long long off64_t; #endif +#if !defined __NO_ISOCEXT +typedef unsigned int useconds_t; +#endif /* Not __NO_ISOCEXT */ + #endif /* Not RC_INVOKED */ #endif /* Not _TYPES_H_ */