Ver Fonte

fixup includes so we compile again

Mike Frysinger há 18 anos atrás
pai
commit
6c3524e1f0
2 ficheiros alterados com 4 adições e 6 exclusões
  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.  */
    and invokes a function in the right context after its all over.  */
 
 
 #include <features.h>
 #include <features.h>
-#include <asm/unistd.h>
+#include <sys/syscall.h>
-#define _ERRNO_H	1
+#define _ERRNO_H
 #include <bits/errno.h>
 #include <bits/errno.h>
-#define _SYSCALL_H
 #include <bits/sysnum.h>
 #include <bits/sysnum.h>
 
 
 
 

+ 2 - 3
libc/sysdeps/linux/sh/vfork.S

@@ -21,9 +21,8 @@
 */
 */
 
 
 #include <features.h>
 #include <features.h>
-#define _SYSCALL_H
+#include <sys/syscall.h>
-#include <bits/sysnum.h>
+#define _ERRNO_H
-#define _ERRNO_H	1
 #include <bits/errno.h>
 #include <bits/errno.h>
 #include <bits/sysnum.h>
 #include <bits/sysnum.h>