summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/fork.c')
-rw-r--r--libc/sysdeps/linux/common/fork.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/fork.c b/libc/sysdeps/linux/common/fork.c
index eb4001f7e..a4e623900 100644
--- a/libc/sysdeps/linux/common/fork.c
+++ b/libc/sysdeps/linux/common/fork.c
@@ -12,6 +12,7 @@
#ifdef __ARCH_HAS_MMU__
#ifdef __NR_fork
+extern __typeof(fork) __libc_fork;
#define __NR___libc_fork __NR_fork
_syscall0(pid_t, __libc_fork);
libc_hidden_proto(fork)