From 26ed7fb1ffd871b37624d7247961b022d5f148bc Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 17 Mar 2009 12:32:06 +0000 Subject: [PATCH] 2009-03-16 Khem Raj * sysdeps/unix/sysv/linux/arm/sysdep.h: Include errno.h. --- ChangeLog.arm | 4 ++++ sysdeps/unix/sysv/linux/arm/sysdep.h | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog.arm b/ChangeLog.arm index a2915fd..d554bfb 100644 --- a/ChangeLog.arm +++ b/ChangeLog.arm @@ -1,3 +1,7 @@ +2009-03-16 Khem Raj + + * sysdeps/unix/sysv/linux/arm/sysdep.h: Include errno.h. + 2009-03-15 Joseph Myers * sysdeps/arm/bits/link.h: Uglify function parameter names. diff --git a/sysdeps/unix/sysv/linux/arm/sysdep.h b/sysdeps/unix/sysv/linux/arm/sysdep.h index 1df63f6..3d7fafc 100644 --- a/sysdeps/unix/sysv/linux/arm/sysdep.h +++ b/sysdeps/unix/sysv/linux/arm/sysdep.h @@ -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 -- 2.7.4