summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/sysdeps/linux/sh/clone.S5
-rw-r--r--libc/sysdeps/linux/sh/vfork.S5
2 files changed, 4 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/sh/clone.S b/libc/sysdeps/linux/sh/clone.S
index dec05a2c7..f9141eb0c 100644
--- a/libc/sysdeps/linux/sh/clone.S
+++ b/libc/sysdeps/linux/sh/clone.S
@@ -20,10 +20,9 @@
and invokes a function in the right context after its all over. */
#include <features.h>
-#include <asm/unistd.h>
-#define _ERRNO_H 1
+#include <sys/syscall.h>
+#define _ERRNO_H
#include <bits/errno.h>
-#define _SYSCALL_H
#include <bits/sysnum.h>
diff --git a/libc/sysdeps/linux/sh/vfork.S b/libc/sysdeps/linux/sh/vfork.S
index 5d7e51dd5..a9b440d8f 100644
--- a/libc/sysdeps/linux/sh/vfork.S
+++ b/libc/sysdeps/linux/sh/vfork.S
@@ -21,9 +21,8 @@
*/
#include <features.h>
-#define _SYSCALL_H
-#include <bits/sysnum.h>
-#define _ERRNO_H 1
+#include <sys/syscall.h>
+#define _ERRNO_H
#include <bits/errno.h>
#include <bits/sysnum.h>