diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-05-17 04:40:06 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-05-17 04:40:06 +0000 |
commit | 8146e469d3b2fa0e7e7a238f142aa319b35545ef (patch) | |
tree | 106e36e557226b454727fcdd140df1421562d53b /libc/sysdeps/linux/bfin/clone.c | |
parent | 34f4d314c55eb53e272c1b5ac8c13e0ef246a9bd (diff) |
fix by Peter S. Mazinger: use sys/syscall.h (bits/sysnum.h) instead of asm/unistd.h
Diffstat (limited to 'libc/sysdeps/linux/bfin/clone.c')
-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; |