From: Richard Henderson Date: Thu, 21 Feb 2013 00:49:25 +0000 (-0800) Subject: alpha: Include errno.h in sysdep.h X-Git-Tag: glibc-2.18~670 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccdef322b865e804d08b368cf75601897e2c57f1;p=thirdparty%2Fglibc.git 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. --- diff --git a/ports/ChangeLog.alpha b/ports/ChangeLog.alpha index 0ac8add048a..9cd207639a2 100644 --- a/ports/ChangeLog.alpha +++ b/ports/ChangeLog.alpha @@ -1,3 +1,7 @@ +2013-02-20 Richard Henderson + + * sysdeps/unix/alpha/sysdep.h: Include . + 2013-02-18 Siddhesh Poyarekar * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Add diff --git a/ports/sysdeps/unix/alpha/sysdep.h b/ports/sysdeps/unix/alpha/sysdep.h index 3b71a5ec6c5..d20bcd6d314 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 + /* ??? Linux needs to be able to override INLINE_SYSCALL for one particular special case. Make this easy. */