diff options
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | libc/stdlib/system.c | 3 |
2 files changed, 5 insertions, 4 deletions
@@ -1,5 +1,5 @@ -DIRS = headers error getent malloc-simple misc net regexp rpc stdio2 \ - string sysdeps termios time +DIRS = headers error getent malloc-simple misc net regexp stdio2 \ + string sysdeps termios time #rpc all: libc.a @@ -54,5 +54,5 @@ dummy: clean: -rm -f `find -name \*.[oa]` `find -name \*~` core - -rm -f include/asm include/net include/linux + -rm -rf include/asm include/net include/linux diff --git a/libc/stdlib/system.c b/libc/stdlib/system.c index 74ac27b64..6c8a42dee 100644 --- a/libc/stdlib/system.c +++ b/libc/stdlib/system.c @@ -1,7 +1,8 @@ - +#include <stdio.h> #include <stddef.h> #include <signal.h> #include <unistd.h> +#include <sys/wait.h> int system(command) |