Browse Source

More stuff I forgot to commit.
-Erik

Eric Andersen 24 years ago
parent
commit
bf299c2d30
2 changed files with 5 additions and 4 deletions
  1. 3 3
      Makefile
  2. 2 1
      libc/stdlib/system.c

+ 3 - 3
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
 

+ 2 - 1
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)