diff options
author | Martin Blapp <mbr@FreeBSD.org> | 2002-06-02 20:07:05 +0000 |
---|---|---|
committer | Martin Blapp <mbr@FreeBSD.org> | 2002-06-02 20:07:05 +0000 |
commit | eb1c052f0978abf1a83853cac50eea466e159401 (patch) | |
tree | 8aaeb6b665eb6b0f43ffaebf8c1290760ad1a994 /editors/openoffice.org-2 | |
parent | Do not link with lsupc++. With the newest gcc3.1 version it seems not to (diff) |
Fix previous patch. We have to include unistd.h for FreeBSD
Notes
Notes:
svn path=/head/; revision=60488
Diffstat (limited to 'editors/openoffice.org-2')
-rw-r--r-- | editors/openoffice.org-2/files/patch-vcl+unx+source+app+rptpsound.cxx | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/editors/openoffice.org-2/files/patch-vcl+unx+source+app+rptpsound.cxx b/editors/openoffice.org-2/files/patch-vcl+unx+source+app+rptpsound.cxx index d70547e3db9f..fca5510022f9 100644 --- a/editors/openoffice.org-2/files/patch-vcl+unx+source+app+rptpsound.cxx +++ b/editors/openoffice.org-2/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 <strhelper.hxx> - #include <string.h> - --#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 <unistd.h> ++#endif ++ + #ifdef _USE_NAMESPACE + using namespace vcl_sal; + using namespace vos; |