summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/nios2
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/nios2')
-rw-r--r--libc/sysdeps/linux/nios2/clone.c3
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;