From 00e082d93ff238461710701838fd4f7db23e8039 Mon Sep 17 00:00:00 2001 From: Maho Nakata Date: Fri, 15 Aug 2003 22:37:43 +0000 Subject: /usr/include/sys/resource.h uses `struct timeval` in the definition of struct rusage. struct timeval is defined in /usr/include/sys/time.h, but is not included in the header file. Obtained from Volker Quetschke See http://www.openoffice.org/issues/show_bug.cgi?id=18065 for details. reviewed: maho (for 4-STABLE and 5-CURRENT) --- .../openoffice-1.1/files/patch-vcl+unx+source+app+salmain.cxx | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 editors/openoffice-1.1/files/patch-vcl+unx+source+app+salmain.cxx (limited to 'editors/openoffice-1.1') diff --git a/editors/openoffice-1.1/files/patch-vcl+unx+source+app+salmain.cxx b/editors/openoffice-1.1/files/patch-vcl+unx+source+app+salmain.cxx new file mode 100644 index 000000000000..8d0a6f423f5e --- /dev/null +++ b/editors/openoffice-1.1/files/patch-vcl+unx+source+app+salmain.cxx @@ -0,0 +1,11 @@ +--- ../vcl/unx/source/app/salmain.cxx 1 Aug 2003 03:34:39 -0000 1.8.4.1 ++++ ../vcl/unx/source/app/salmain.cxx 7 Aug 2003 22:43:19 -0000 +@@ -62,7 +62,7 @@ + #define _SV_SALMAIN_CXX + + // -=-= #includes =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= +-#ifdef MACOSX ++#if defined(MACOSX) || defined(FREEBSD) + // rlimit needs sys/types.h + #include + #include -- cgit v1.2.3