summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/mips/clone.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/mips/clone.S')
-rw-r--r--libc/sysdeps/linux/mips/clone.S5
1 files changed, 1 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/mips/clone.S b/libc/sysdeps/linux/mips/clone.S
index 65ac8b16a..59df022c5 100644
--- a/libc/sysdeps/linux/mips/clone.S
+++ b/libc/sysdeps/linux/mips/clone.S
@@ -22,8 +22,7 @@
#include <sys/asm.h>
#include <sysdep.h>
-#define _ERRNO_H 1
-#include <bits/errno.h>
+#include <bits/errno_values.h>
#ifdef RESET_PID
#include <tls.h>
#endif
@@ -102,9 +101,7 @@ NESTED(__clone,4*SZREG,sp)
/* Something bad happened -- no child created */
L(error):
-#ifdef __UCLIBC__
move a0,v0
-#endif
#ifdef __PIC__
PTR_LA t9,__syscall_error
RESTORE_GP64