diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-08-23 19:21:01 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-08-23 19:21:01 +0000 |
commit | d036894a6f329bda959f684de2c9c7ed970adbf4 (patch) | |
tree | 26e87d8cffdc84713f93e81409a7ea7040c31eb1 | |
parent | eec38304692556bedde517d299cc051d2d96fc01 (diff) |
fixes from psm: use new clone definition
-rw-r--r-- | libc/sysdeps/linux/nios2/clone.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/nios2/clone.c b/libc/sysdeps/linux/nios2/clone.c index 019ca31bc..78dcac1af 100644 --- a/libc/sysdeps/linux/nios2/clone.c +++ b/libc/sysdeps/linux/nios2/clone.c @@ -14,9 +14,10 @@ */ #include <errno.h> +#include <sched.h> #include <sys/syscall.h> -int clone (int (*fn)(void *arg), void *child_stack, int flags, void *arg) +int clone (int (*fn)(void *arg), void *child_stack, int flags, void *arg, ...) { register unsigned long rval asm ("r2") = -EINVAL; |