make chatty9p an extern int for the mac.
diff --git a/include/9p.h b/include/9p.h
index 00d2fe0..f83dce0 100644
--- a/include/9p.h
+++ b/include/9p.h
@@ -219,7 +219,7 @@
 void		srv(Srv*);
 void		postmountsrv(Srv*, char*, char*, int);
 int 		postfd(char*, int);
-int		chatty9p;
+extern	int		chatty9p;
 void		respond(Req*, char*);
 void		threadpostmountsrv(Srv*, char*, char*, int);
 
diff --git a/src/lib9p/srv.c b/src/lib9p/srv.c
index 2a300bb..a54a176 100644
--- a/src/lib9p/srv.c
+++ b/src/lib9p/srv.c
@@ -5,6 +5,8 @@
 #include <thread.h>
 #include <9p.h>
 
+int chatty9p;
+
 // static char Ebadattach[] = "unknown specifier in attach";
 static char Ebadoffset[] = "bad offset";
 // static char Ebadcount[] = "bad count";