Include <bits/errno.h> not <errnos.h>.

This commit is contained in:
Ulrich Drepper 1997-11-13 00:18:09 +00:00
parent 2ecd6b510f
commit 0fe3c9c4df
1 changed files with 3 additions and 3 deletions

View File

@ -18,13 +18,13 @@
#include <sysdep.h> #include <sysdep.h>
#define _ERRNO_H #define _ERRNO_H
#include <errnos.h> #include <bits/errno.h>
.globl C_SYMBOL_NAME(errno) .globl C_SYMBOL_NAME(errno)
.globl syscall_error .globl syscall_error
_errno_loc: .long C_SYMBOL_NAME(errno) _errno_loc: .long C_SYMBOL_NAME(errno)
#undef syscall_error #undef syscall_error
#ifdef NO_UNDERSCORES #ifdef NO_UNDERSCORES
__syscall_error: __syscall_error:
@ -39,7 +39,7 @@ syscall_error:
moveq r0, $EAGAIN /* Yes; translate it to EAGAIN. */ moveq r0, $EAGAIN /* Yes; translate it to EAGAIN. */
#endif #endif
#ifndef PIC #ifndef PIC
ldr r1, _errno_loc ldr r1, _errno_loc
str r0, [r1] str r0, [r1]
#endif #endif
mvn r0, $0 mvn r0, $0