This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Build broken in types.h


Hi ,

A recent fix committed in seems to have broken builds with a change in
sys/types.h .  The change comes from this commit

2006-08-16 Joel Schopp <jschopp@austin.ibm.com>

       * configure.host: Add spu support.
       * libc/include/stdint.h: Ditto.
       * libc/include/machine/ieeefp.h: Ditto.
       * libc/include/machine/setjmp.h: Ditto.
       * libc/include/sys/config.h: Ditto.
       * libc/include/sys/types.h: Ditto.
       * libc/machine/spu/Makefile.am: New file.
       * libc/machine/spu/Makefile.in: Ditto.
       * libc/machine/spu/aclocal.m4: Ditto.
       * libc/machine/spu/configure: Ditto.
       * libc/machine/spu/configure.in: Ditto.
       * libc/machine/spu/memcpy.c: Ditto.
       * libc/machine/spu/setjmp.S: Ditto.

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


-- Ramana Radhakrishnan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]