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 2b043d293..f9634cd5c 100644
--- a/libc/sysdeps/linux/common/vfork.c
+++ b/libc/sysdeps/linux/common/vfork.c
@@ -9,6 +9,8 @@
#include <sys/types.h>
#include <sys/syscall.h>
+#ifdef __ARCH_USE_MMU__
+
#ifdef __NR_fork
libc_hidden_proto(fork)
@@ -21,3 +23,5 @@ libc_hidden_proto(vfork)
weak_alias(__vfork,vfork)
libc_hidden_weak(vfork)
#endif
+
+#endif