aboutsummaryrefslogtreecommitdiff
path: root/ports/sysdeps/unix
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-02-20 16:49:25 -0800
committerRichard Henderson <rth@twiddle.net>2013-02-20 16:49:25 -0800
commitccdef322b865e804d08b368cf75601897e2c57f1 (patch)
tree546b2ae40af9961d5e89f3013a52389440fe860e /ports/sysdeps/unix
parent41f49342e9c262aa0dc7255108b55f19bf742e77 (diff)
downloadglibc-ccdef322b865e804d08b368cf75601897e2c57f1.tar
glibc-ccdef322b865e804d08b368cf75601897e2c57f1.tar.gz
glibc-ccdef322b865e804d08b368cf75601897e2c57f1.tar.bz2
glibc-ccdef322b865e804d08b368cf75601897e2c57f1.zip
alpha: Include errno.h in sysdep.h
Recent changes in malloc-sysdep.h exposed this error, the symptom being __set_errno was not defined early enough.
Diffstat (limited to 'ports/sysdeps/unix')
-rw-r--r--ports/sysdeps/unix/alpha/sysdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/sysdeps/unix/alpha/sysdep.h b/ports/sysdeps/unix/alpha/sysdep.h
index 3b71a5ec6c..d20bcd6d31 100644
--- a/ports/sysdeps/unix/alpha/sysdep.h
+++ b/ports/sysdeps/unix/alpha/sysdep.h
@@ -161,6 +161,9 @@ __LABEL(name) \
#else /* !ASSEMBLER */
+/* In order to get __set_errno() definition in INLINE_SYSCALL. */
+#include <errno.h>
+
/* ??? Linux needs to be able to override INLINE_SYSCALL for one
particular special case. Make this easy. */