f5cf58f794
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>