2009-03-16 Khem Raj <raj.khem@gmail.com>
authorJoseph Myers <joseph@codesourcery.com>
Tue, 17 Mar 2009 12:32:06 +0000 (12:32 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 17 Mar 2009 12:32:06 +0000 (12:32 +0000)
* sysdeps/unix/sysv/linux/arm/sysdep.h: Include errno.h.

ChangeLog.arm
sysdeps/unix/sysv/linux/arm/sysdep.h

index a2915fd..d554bfb 100644 (file)
@@ -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.
index 1df63f6..3d7fafc 100644 (file)
 
 #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