$OpenBSD: patch-soltools_mkdepend_main_c,v 1.2 2006/08/20 03:36:53 kurt Exp $
--- soltools/mkdepend/main.c.orig.port	Wed Apr 21 09:27:01 2004
+++ soltools/mkdepend/main.c	Fri Aug 18 15:47:45 2006
@@ -32,6 +32,11 @@ in this Software without prior written a
 #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)
