Issue 31342 - sys/time.h needed for /usr/include/sys/resource.h
Summary: sys/time.h needed for /usr/include/sys/resource.h
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: current
Hardware: All FreeBSD
: P3 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: Martin Hollmichel
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-11 20:39 UTC by pavel
Modified: 2004-12-20 15:49 UTC (History)
1 user (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description pavel 2004-07-11 20:39:31 UTC
New instance of
http://qa.openoffice.org/issues/show_bug.cgi?id=18065 in
vcl/unx/source/plugadapt/salmain.cxx:

This patch fixes the problem:

Index: salmain.cxx
===================================================================
RCS file: /cvs/gsl/vcl/unx/source/plugadapt/salmain.cxx,v
retrieving revision 1.3
diff -u -u -r1.3 salmain.cxx
--- salmain.cxx	6 Jan 2004 14:44:11 -0000	1.3
+++ salmain.cxx	11 Jul 2004 19:39:11 -0000
@@ -59,7 +59,7 @@
  *
  ************************************************************************/
 
-#ifdef MACOSX
+#if defined(MACOSX) || defined(FREEBSD)
 // rlimit needs sys/types.h
 #include <sys/types.h>
 #include <sys/time.h>
Comment 1 pavel 2004-07-11 20:40:23 UTC
Fixed in 20040704.
Comment 2 Martin Hollmichel 2004-12-20 15:49:01 UTC
close issue.