aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-03-17 12:32:06 +0000
committerJoseph Myers <joseph@codesourcery.com>2009-03-17 12:32:06 +0000
commit26ed7fb1ffd871b37624d7247961b022d5f148bc (patch)
tree7fb2c4d87361db4e1e0c26e17329db4856339aec
parentbd855f39f173c9972b6e1892c03378738066ebd4 (diff)
downloadglibc-26ed7fb1ffd871b37624d7247961b022d5f148bc.tar.xz
glibc-26ed7fb1ffd871b37624d7247961b022d5f148bc.zip
2009-03-16 Khem Raj <raj.khem@gmail.com>
* sysdeps/unix/sysv/linux/arm/sysdep.h: Include errno.h.
-rw-r--r--ChangeLog.arm4
-rw-r--r--sysdeps/unix/sysv/linux/arm/sysdep.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog.arm b/ChangeLog.arm
index a2915fdf97..d554bfb282 100644
--- a/ChangeLog.arm
+++ b/ChangeLog.arm
@@ -1,3 +1,7 @@
+2009-03-16 Khem Raj <raj.khem@gmail.com>
+
+ * sysdeps/unix/sysv/linux/arm/sysdep.h: Include errno.h.
+
2009-03-15 Joseph Myers <joseph@codesourcery.com>
* 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 1df63f6075..3d7fafcb6f 100644
--- a/sysdeps/unix/sysv/linux/arm/sysdep.h
+++ b/sysdeps/unix/sysv/linux/arm/sysdep.h
@@ -30,6 +30,11 @@
#include <tls.h>
+/* In order to get __set_errno() definition in INLINE_SYSCALL. */
+#ifndef __ASSEMBLER__
+#include <errno.h>
+#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