$NetBSD$

--- global.h.orig	1996-08-31 04:14:40.000000000 -0400
+++ global.h
@@ -20,2 +20,4 @@
 #include <stdio.h>
+#include <string.h>
+#include <unistd.h>
 #include "comm.h"
@@ -72,3 +74,3 @@ typedef struct river {
 	pai_t out;		/* put pai */
-	attr_t attr;		/* attr (how get, how put, how ...)*/
+	pai_attr_t attr;		/* attr (how get, how put, how ...)*/
 	struct river *prev;
