فهرست منبع

fix by Peter S. Mazinger: use sys/syscall.h (bits/sysnum.h) instead of asm/unistd.h

Mike Frysinger 19 سال پیش
والد
کامیت
8146e469d3
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      libc/sysdeps/linux/bfin/clone.c

+ 3 - 2
libc/sysdeps/linux/bfin/clone.c

@@ -6,10 +6,11 @@
  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  */
 
-#include <asm/unistd.h>
+#include <sched.h>
+#include <sys/syscall.h>
 
 int
-clone (int (*fn)(void *arg), void *child_stack, int flags, void *arg)
+clone (int (*fn)(void *arg), void *child_stack, int flags, void *arg, ...)
 {
 	register long rval = -1;