瀏覽代碼

fixup includes so we compile again

Mike Frysinger 18 年之前
父節點
當前提交
6c3524e1f0
共有 2 個文件被更改,包括 4 次插入6 次删除
  1. 2 3
      libc/sysdeps/linux/sh/clone.S
  2. 2 3
      libc/sysdeps/linux/sh/vfork.S

+ 2 - 3
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>
 
 

+ 2 - 3
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>