This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Build broken in types.h
- From: Christopher Faylor <cgf-use-the-mailinglist-please at sourceware dot org>
- To: newlib at sources dot redhat dot com, Ramana Radhakrishnan <ramana dot r at gmail dot com>
- Date: Sat, 19 Aug 2006 12:13:53 -0400
- Subject: Re: Build broken in types.h
- References: <67ea2eb0608190203jfb88e42v9c23e73b7dc292b2@mail.gmail.com>
On Sat, Aug 19, 2006 at 02:33:41PM +0530, Ramana Radhakrishnan wrote:
>A recent fix committed in seems to have broken builds with a change in
>sys/types.h . The change comes from this commit
>
>Here's a patch that can be committed as obvious.
>
>cheers
>Ramana
>
>Index: sys/types.h
>===================================================================
>RCS file: /cvs/src/src/newlib/libc/include/sys/types.h,v
>retrieving revision 1.24
>diff -a -u -r1.24 types.h
>--- sys/types.h 16 Aug 2006 21:39:43 -0000 1.24
>+++ sys/types.h 19 Aug 2006 08:54:17 -0000
>@@ -126,7 +126,7 @@
>typedef char * caddr_t;
>
>#ifndef __CYGWIN__
>-#if defined(__MS_types__) || defined(__rtems__) ||
>+#if defined(__MS_types__) || defined(__rtems__) || \
> defined(__sparc__) || defined(__SPU__)
>typedef unsigned long ino_t;
>#else
This does look pretty obvious so I've checked it in.
Thanks for the patch.
cgf