glibc/sysdeps/unix
Mike Frysinger f5cf58f794 ia64: include errno.h in sysdep.h
This header uses __set_errno(), so make sure we include errno.h for it.
Otherwise, if INLINE_SYSCALL() is used and errno.h isn't included, we
hit warnings like so:
In file included from libc-start.c:36:0:
../sysdeps/unix/sysv/linux/dl-osinfo.h: In function '_dl_setup_stack_chk_guard':
../sysdeps/unix/sysv/linux/dl-osinfo.h:79:7: warning: implicit declaration of function '__set_errno'

Which culminate in errors like so:
libc-start.c:(.text+0x692): undefined reference to '__set_errno'
libc-start.c:(.text+0x752): undefined reference to '__set_errno'
collect2: ld returned 1 exit status

Reported-by: Dennis Schridde <devurandom@gmx.net>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-07 23:22:59 -04:00
..
alpha alpha: Remove __STDC__ conditionals. 2012-04-27 07:33:47 -07:00
am33 Replace FSF snail mail address by URL. 2012-03-09 23:56:38 +00:00
arm Remove unused sysdeps/arm files. 2012-04-26 18:17:08 +00:00
mips Remove unused sysdeps/unix/mips files. 2012-04-26 19:39:33 +00:00
sysv/linux ia64: include errno.h in sysdep.h 2012-05-07 23:22:59 -04:00