diff options
Diffstat (limited to 'libc/sysdeps/linux/mips/vfork.S')
-rw-r--r-- | libc/sysdeps/linux/mips/vfork.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/mips/vfork.S b/libc/sysdeps/linux/mips/vfork.S index 00cc675fa..cbf1da6dd 100644 --- a/libc/sysdeps/linux/mips/vfork.S +++ b/libc/sysdeps/linux/mips/vfork.S @@ -18,6 +18,7 @@ /* vfork() is just a special case of clone(). */ +#include <sys/syscall.h> #include <sys/asm.h> #include <sysdep.h> @@ -34,6 +35,7 @@ /* int vfork() */ .text + .hidden __vfork LOCALSZ= 1 FRAMESZ= (((NARGSAVE+LOCALSZ)*SZREG)+ALSZ)&ALMASK GPOFF= FRAMESZ-(1*SZREG) @@ -96,6 +98,6 @@ L(error): END(__vfork) weak_alias(__vfork,vfork) -libc_hidden_weak(vfork) +libc_hidden_def(vfork) #endif |