2009-04-23 Carlos O'Donell <carlos@codesourcery.com>
authorCarlos O'Donell <carlos@systemhalted.org>
Fri, 24 Apr 2009 02:48:15 +0000 (02:48 +0000)
committerCarlos O'Donell <carlos@systemhalted.org>
Fri, 24 Apr 2009 02:48:15 +0000 (02:48 +0000)
* sysdeps/unix/sysv/linux/hppa/sysdep.h [!__ASSEMBLER__]:
Include errno.h.

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

index b673000..aebfc57 100644 (file)
@@ -1,3 +1,8 @@
+2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * sysdeps/unix/sysv/linux/hppa/sysdep.h [!__ASSEMBLER__]:
+       Include errno.h.
+
 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
index 96632a1..e22e571 100644 (file)
 #include <sysdeps/generic/sysdep.h>
 #include <sys/syscall.h>
 
+/* In order to get __set_errno() definition in INLINE_SYSCALL.  */
+#ifndef __ASSEMBLER__
+#include <errno.h>
+#endif
+
 #undef ASM_LINE_SEP
 #define ASM_LINE_SEP !