diff options
Diffstat (limited to 'libc/stdlib/system.c')
-rw-r--r-- | libc/stdlib/system.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/stdlib/system.c b/libc/stdlib/system.c index 6126d8114..8f654045e 100644 --- a/libc/stdlib/system.c +++ b/libc/stdlib/system.c @@ -4,6 +4,12 @@ #include <unistd.h> #include <sys/wait.h> +/* uClinux-2.0 has vfork, but Linux 2.0 doesn't */ +#include <sys/syscall.h> +#if ! defined __NR_vfork && defined __UCLIBC_HAS_MMU__ +#define vfork fork +#endif + int __libc_system(command) char *command; { |