openbsd-ports/editors/openoffice3/patches/patch-soltools_mkdepend_main_c
robert 2d0776a488 Import of OpenOffice 3.0;
Currently it is a different port because it still needs a lot of work
and there are a lot of differences from openoffice2. It is not connected
to the build, and it's going to be merged with the openoffice2 port whenever
it's ready for use.
2008-10-30 18:51:05 +00:00

16 lines
450 B
Plaintext

$OpenBSD: patch-soltools_mkdepend_main_c,v 1.1.1.1 2008/10/30 18:51:07 robert 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)