From 3e22d99e5472bf2ab35b97a412c75b603acc4613 Mon Sep 17 00:00:00 2001 From: mbr Date: Sun, 2 Jun 2002 20:07:05 +0000 Subject: Fix previous patch. We have to include unistd.h for FreeBSD --- .../files/patch-vcl+unx+source+app+rptpsound.cxx | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'editors/openoffice.org-2.0-devel') diff --git a/editors/openoffice.org-2.0-devel/files/patch-vcl+unx+source+app+rptpsound.cxx b/editors/openoffice.org-2.0-devel/files/patch-vcl+unx+source+app+rptpsound.cxx index d70547e..fca5510 100644 --- a/editors/openoffice.org-2.0-devel/files/patch-vcl+unx+source+app+rptpsound.cxx +++ b/editors/openoffice.org-2.0-devel/files/patch-vcl+unx+source+app+rptpsound.cxx @@ -1,11 +1,13 @@ ---- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002 -+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002 -@@ -73,7 +73,7 @@ - #include - #include - --#ifdef SOLARIS -+#ifdef SOLARIS || FREEBSD - // Solaris 2.5.1 misses it in unistd.h +--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001 ++++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002 +@@ -78,6 +78,10 @@ extern "C" int usleep(unsigned int); #endif + ++#ifdef FREEBSD ++#include ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; -- cgit v1.1