about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/process/vfork.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/process/vfork.c b/src/process/vfork.c
index a7dd86c8..16d07ea7 100644
--- a/src/process/vfork.c
+++ b/src/process/vfork.c
@@ -1,8 +1,11 @@
 #include <unistd.h>
 #include "syscall.h"
+#include "libc.h"
 
-pid_t vfork(void)
+pid_t __vfork(void)
 {
 	/* vfork syscall cannot be made from C code */
 	return syscall(SYS_fork);
 }
+
+weak_alias(__vfork, vfork);