Index: ports/sysdeps/unix/sysv/linux/arm/sysdep.h =================================================================== --- ports/sysdeps/unix/sysv/linux/arm/sysdep.h (revision 8114) +++ ports/sysdeps/unix/sysv/linux/arm/sysdep.h (working copy) @@ -30,6 +30,11 @@ #include +/* In order to get __set_errno() definition in INLINE_SYSCALL. */ +#ifndef __ASSEMBLER__ +#include +#endif + /* For Linux we can use the system call table in the header file /usr/include/asm/unistd.h of the kernel. But these symbols do not follow the SYS_* syntax