diff options
Diffstat (limited to 'libc/sysdeps/linux/bfin')
-rw-r--r-- | libc/sysdeps/linux/bfin/clone.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/bfin/clone.c b/libc/sysdeps/linux/bfin/clone.c index fbf43ade9..3185d1b11 100644 --- a/libc/sysdeps/linux/bfin/clone.c +++ b/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; |