Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sutcliffe <ir0nh34d@users.sourceforge.net>2008-05-06 05:25:05 +0400
committerChris Sutcliffe <ir0nh34d@users.sourceforge.net>2008-05-06 05:25:05 +0400
commitedce6d854609e87de0f03cb1fc8045e7dd476b28 (patch)
tree71d7fffeae9f2a1f40fdca52cc66565aff5e6682 /winsup/mingw
parent6c31adf67e5db7fe87d87d82d83d0de5c72ca484 (diff)
Fix typo and commit the write header
Diffstat (limited to 'winsup/mingw')
-rw-r--r--winsup/mingw/ChangeLog2
-rw-r--r--winsup/mingw/include/sys/types.h4
2 files changed, 5 insertions, 1 deletions
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 <ramiro@lisha.ufsc.br>
- * 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_ */