--- cmds.c.orig	2009-05-25 15:45:12.000000000 -0700
+++ cmds.c	2009-05-25 15:46:02.000000000 -0700
@@ -1,3 +1,4 @@
+#include <sys/types.h>
 #include <stdio.h>
 #include <stdarg.h>
 #include <string.h>