* include/time.h: Do not include sys/types.h.
This commit is contained in:
parent
e519074547
commit
8261a23149
|
@ -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,
|
||||
|
|
|
@ -21,11 +21,6 @@
|
|||
#include <stddef.h>
|
||||
#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;
|
||||
|
|
Loading…
Reference in New Issue