summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-02-04 09:43:11 +0000
committerMike Frysinger <vapier@gentoo.org>2007-02-04 09:43:11 +0000
commit6c3524e1f00e4770d8683ca9282ca2d809e0ebc5 (patch)
tree69784a6b070001f1a332b4b233e5b8ec6f30f608 /libc/sysdeps/linux/sh
parent5e3cf7401ba4ebaa2f756449f713bea68256cdd5 (diff)
fixup includes so we compile again
Diffstat (limited to 'libc/sysdeps/linux/sh')
-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>