diff options
Diffstat (limited to 'libc/sysdeps/linux/nios/clone.S')
-rw-r--r-- | libc/sysdeps/linux/nios/clone.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/nios/clone.S b/libc/sysdeps/linux/nios/clone.S index a3098f5f8..c4799c5b2 100644 --- a/libc/sysdeps/linux/nios/clone.S +++ b/libc/sysdeps/linux/nios/clone.S @@ -21,7 +21,7 @@ and invokes a function in the right context after its all over. */ #include <asm/errno.h> -#include <asm/unistd.h> +#include <sys/syscall.h> #include "NM_Macros.S" /* int clone(int (*fn)(void *arg), void *child_stack, int flags, void *arg); */ @@ -87,5 +87,5 @@ __thread_start: .size __thread_start, .-__thread_start -.globl clone; +.weak clone clone = __clone |