summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-07-06 19:23:26 +0000
committerEric Andersen <andersen@codepoet.org>2000-07-06 19:23:26 +0000
commitbf299c2d305f9310d908dcc3cf2073eeb882be01 (patch)
treed52468a88f22d118a97b332f5ebd865ad1289b71
parentffb96c090015f49059d146deefbbd7e1f6baa642 (diff)
More stuff I forgot to commit.
-Erik
-rw-r--r--Makefile6
-rw-r--r--libc/stdlib/system.c3
2 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index d5b56cc66..15d2461d6 100644
--- a/Makefile
+++ b/Makefile
@@ -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)