summaryrefslogtreecommitdiff
path: root/libc/misc/wordexp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/wordexp')
-rw-r--r--libc/misc/wordexp/wordexp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/misc/wordexp/wordexp.c b/libc/misc/wordexp/wordexp.c
index f9701314d..4074810c1 100644
--- a/libc/misc/wordexp/wordexp.c
+++ b/libc/misc/wordexp/wordexp.c
@@ -37,6 +37,10 @@
#include <glob.h>
#include <wordexp.h>
+#ifndef __ARCH_USE_MMU__
+# define fork vfork
+#endif
+
#define __WORDEXP_FULL
/*