summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/sys')
-rw-r--r--newlib/libc/include/sys/config.h4
-rw-r--r--newlib/libc/include/sys/types.h7
2 files changed, 6 insertions, 5 deletions
diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h
index f436c780d..dc6264333 100644
--- a/newlib/libc/include/sys/config.h
+++ b/newlib/libc/include/sys/config.h
@@ -126,6 +126,10 @@
#endif /* __m32c__ */
+#ifdef __SPU__
+#define MALLOC_ALIGNMENT 16
+#endif
+
/* This block should be kept in sync with GCC's limits.h. The point
of having these definitions here is to not include limits.h, which
would pollute the user namespace, while still using types of the
diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h
index bf08616ab..7de48b1e9 100644
--- a/newlib/libc/include/sys/types.h
+++ b/newlib/libc/include/sys/types.h
@@ -126,15 +126,12 @@ typedef long daddr_t;
typedef char * caddr_t;
#ifndef __CYGWIN__
-#if defined(__MS_types__) || defined(__rtems__)
-typedef unsigned long ino_t;
-#else
-#ifdef __sparc__
+#if defined(__MS_types__) || defined(__rtems__) ||
+ defined(__sparc__) || defined(__SPU__)
typedef unsigned long ino_t;
#else
typedef unsigned short ino_t;
#endif
-#endif
#endif /*__CYGWIN__*/
#ifdef __MS_types__