[RFA:] Fix libgloss/d30v/syscalls.c

J. Johnston jjohnstn@redhat.com
Mon Apr 15 13:50:00 GMT 2002

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.

More information about the Newlib mailing list