diff options
author | mbr <mbr@FreeBSD.org> | 2002-06-02 20:07:05 +0000 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2002-06-02 20:07:05 +0000 |
commit | 3e22d99e5472bf2ab35b97a412c75b603acc4613 (patch) | |
tree | 2bf22d49f561e0ababab74de8d474e7cba2086d7 /editors/openoffice.org-2/files | |
parent | 4f33af9a9d455c18dc0c475431c688be23f79279 (diff) | |
download | FreeBSD-ports-3e22d99e5472bf2ab35b97a412c75b603acc4613.zip FreeBSD-ports-3e22d99e5472bf2ab35b97a412c75b603acc4613.tar.gz |
Fix previous patch. We have to include unistd.h for FreeBSD
Diffstat (limited to 'editors/openoffice.org-2/files')
-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 d70547e..fca5510 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; |