summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/sysdeps/linux/common/vfork.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/vfork.c b/libc/sysdeps/linux/common/vfork.c
index b4dc2288f..07662796c 100644
--- a/libc/sysdeps/linux/common/vfork.c
+++ b/libc/sysdeps/linux/common/vfork.c
@@ -2,6 +2,8 @@
#include <unistd.h>
#include <sys/types.h>
+#ifdef __NR_fork
+
libc_hidden_proto(vfork)
libc_hidden_proto(fork)
@@ -11,3 +13,5 @@ pid_t vfork(void)
return fork();
}
libc_hidden_def(vfork)
+
+#endif