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 + + * include/time.h: Do not include sys/types.h. + 2004-07-02 Danny Smith * 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 @@ -21,11 +21,6 @@ #include #endif /* Not RC_INVOKED */ -/* - * Need a definition of time_t. - */ -#include - /* * 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;