$OpenBSD: patch-soltools_mkdepend_main_c,v 1.3 2007/04/18 13:20:48 kurt Exp $
--- soltools/mkdepend/main.c.orig.port	Thu Nov  2 04:10:51 2006
+++ soltools/mkdepend/main.c	Wed Apr 18 03:46:27 2007
@@ -32,6 +32,11 @@ in this Software without prior written authorization f
 #include <sys/stat.h>
 #endif
 
+#if defined(OPENBSD)
+#include <sys/types.h>
+#include <unistd.h>
+#endif
+
 #ifdef _MSC_VER	    /* Define ssize_t */
 
 #if !defined(_W64)
