summaryrefslogtreecommitdiffstats
path: root/winsup/mingw
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2004-07-10 04:06:09 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2004-07-10 04:06:09 +0000
commit8261a23149ab0c47715e31392ea512480233c4bf (patch)
tree85a9c891cc78cfb1ecc95e2b2e6a72ce08c4ebf8 /winsup/mingw
parente5190745471caa03e273068626cac225ffcd7b52 (diff)
downloadcygnal-8261a23149ab0c47715e31392ea512480233c4bf.tar.gz
cygnal-8261a23149ab0c47715e31392ea512480233c4bf.tar.bz2
cygnal-8261a23149ab0c47715e31392ea512480233c4bf.zip
* include/time.h: Do not include sys/types.h.
Diffstat (limited to 'winsup/mingw')
-rw-r--r--winsup/mingw/ChangeLog4
-rw-r--r--winsup/mingw/include/time.h7
2 files changed, 5 insertions, 6 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index 28a97d214..5cd136922 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,3 +1,7 @@
+2004-07-10 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * include/time.h: Do not include sys/types.h.
+
2004-07-02 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
diff --git a/winsup/mingw/include/time.h b/winsup/mingw/include/time.h
index 88abd1c10..7d62c4697 100644
--- a/winsup/mingw/include/time.h
+++ b/winsup/mingw/include/time.h
@@ -22,11 +22,6 @@
#endif /* Not RC_INVOKED */
/*
- * Need a definition of time_t.
- */
-#include <sys/types.h>
-
-/*
* Number of clock ticks per second. A clock tick is the unit by which
* processor time is measured and is returned by 'clock'.
*/
@@ -39,7 +34,7 @@
/*
* A type for storing the current time and date. This is the number of
* seconds since midnight Jan 1, 1970.
- * NOTE: Normally this is defined by the above include of sys/types.h
+ * NOTE: This is also defined in non-ISO sys/types.h.
*/
#ifndef _TIME_T_DEFINED
typedef long time_t;