? n.diff ? libc/include/errno.h.diff Index: libc/include/sys/config.h =================================================================== RCS file: /cvs/src/src/newlib/libc/include/sys/config.h,v retrieving revision 1.54 diff -u -r1.54 config.h --- libc/include/sys/config.h 28 Sep 2009 16:42:21 -0000 1.54 +++ libc/include/sys/config.h 12 Oct 2009 20:59:11 -0000 @@ -191,6 +191,7 @@ #if defined(__rtems__) #define __FILENAME_MAX__ 255 #define _READ_WRITE_RETURN_TYPE _ssize_t +#define __LINUX_ERRNO_EXTENSIONS__ 1 #endif #ifndef __EXPORT Index: libc/sys/rtems/machine/param.h =================================================================== RCS file: /cvs/src/src/newlib/libc/sys/rtems/machine/param.h,v retrieving revision 1.3 diff -u -r1.3 param.h --- libc/sys/rtems/machine/param.h 19 Jun 2009 18:15:35 -0000 1.3 +++ libc/sys/rtems/machine/param.h 12 Oct 2009 20:59:12 -0000 @@ -19,7 +19,11 @@ * for all data types (int, long, ...). The result is unsigned int * and must be cast to any desired pointer type. */ +#if defined(__sparc__) #define ALIGNBYTES (sizeof(double) - 1) +#else +#define ALIGNBYTES (sizeof(int) - 1) +#endif #define ALIGN(p) (((unsigned)(p) + ALIGNBYTES) & ~ALIGNBYTES) #define PAGE_SHIFT 12 /* LOG2(PAGE_SIZE) */