This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: [RFA:] Fix libgloss/d30v/syscalls.c
- From: "J. Johnston" <jjohnstn at redhat dot com>
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Cc: newlib at sources dot redhat dot com
- Date: Mon, 15 Apr 2002 16:50:38 -0400
- Subject: Re: [RFA:] Fix libgloss/d30v/syscalls.c
- Organization: Red Hat Inc.
- References: <Pine.BSF.4.30.0204151619410.94831-200000@dair.pair.com>
Hans-Peter Nilsson wrote:
>
> Another one. Including sys/types.h is necessary because of
> time_t. Note that d30v-elf ICE:s in libstdc++-v3 at the moment
> in GCC CVS head, but at least it gets beyond this point with
> this patch. (Please don't CC me discussions about multi-line
> strings as such, sorry.)
>
> 2002-04-15 Hans-Peter Nilsson <hp@bitrange.com>
>
> * d30v/syscalls.c: #include <sys/types.h>. Don't use multi-line
> strings.
>
Done with one slight change to include <time.h> instead of <sys/types.h>. This is
just a nit, but if we ever change the newlib header files, this is guaranteed to work
because ANSI states time_t is defined by including <time.h>.
-- Jeff J.