test/vfork.c: new file to test vfork traces
test/.cvsignore: new file
defs.h: Up maximum number of traced processed to 64
strace.c: Disable some debugging code from davidm
implement setarg for more architectures
implement change_syscall
diff --git a/stream.c b/stream.c
index 35b3ecc..0cc14a0 100644
--- a/stream.c
+++ b/stream.c
@@ -254,6 +254,8 @@
 #endif /* HAVE_PUTPMSG */
 
 
+#ifdef HAVE_SYS_POLL_H
+
 static struct xlat pollflags[] = {
 #ifdef POLLIN
 	{ POLLIN,	"POLLIN"	},
@@ -284,7 +286,6 @@
 {
 	struct pollfd *pollp;
 
-#ifdef HAVE_SYS_POLL_H
 	if (exiting(tcp)) {
 		int i;
 		int nfds = tcp->u_arg[1];
@@ -336,10 +337,18 @@
 			tprintf("%ld", tcp->u_arg[2]);
 		free(pollp);
 	}
-#endif
 	return 0;
 }
 
+#else /* !HAVE_SYS_POLL_H */
+int
+sys_poll(tcp)
+struct tcb *tcp;
+{
+    	return 0;
+}
+#endif
+
 #ifndef linux
 
 static struct xlat stream_flush_options[] = {