OSDN Git Service

* include/time.h: Do not include sys/types.h.
authordannysmith <dannysmith>
Sat, 10 Jul 2004 04:06:08 +0000 (04:06 +0000)
committerdannysmith <dannysmith>
Sat, 10 Jul 2004 04:06:08 +0000 (04:06 +0000)
winsup/mingw/ChangeLog
winsup/mingw/include/time.h

index 28a97d2..5cd1369 100644 (file)
@@ -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,
index 88abd1c..7d62c46 100644 (file)
 #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;