Various additions and fixes.
diff --git a/src/lib9/wait.c b/src/lib9/wait.c
index 14af715..6dc137b 100644
--- a/src/lib9/wait.c
+++ b/src/lib9/wait.c
@@ -1,4 +1,5 @@
-#include <lib9.h>
+#include <u.h>
+#include <libc.h>
 
 Waitmsg*
 wait(void)