mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-21 00:07:36 +08:00
* 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>
|
2004-07-02 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
* mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
|
* mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
|
||||||
|
@ -21,11 +21,6 @@
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#endif /* Not RC_INVOKED */
|
#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
|
* Number of clock ticks per second. A clock tick is the unit by which
|
||||||
* processor time is measured and is returned by 'clock'.
|
* 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
|
* A type for storing the current time and date. This is the number of
|
||||||
* seconds since midnight Jan 1, 1970.
|
* 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
|
#ifndef _TIME_T_DEFINED
|
||||||
typedef long time_t;
|
typedef long time_t;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user