Build broken in types.h

Christopher Faylor cgf-use-the-mailinglist-please@sourceware.org
Mon Aug 21 10:18:00 GMT 2006


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



More information about the Newlib mailing list