From edce6d854609e87de0f03cb1fc8045e7dd476b28 Mon Sep 17 00:00:00 2001 From: Chris Sutcliffe Date: Tue, 6 May 2008 01:25:05 +0000 Subject: [PATCH] Fix typo and commit the write header --- winsup/mingw/ChangeLog | 2 +- winsup/mingw/include/sys/types.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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_ */