1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

/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 <sys/time.h> is not included in the <sys/resource.h> 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)
This commit is contained in:
Maho Nakata 2003-08-15 22:37:43 +00:00
parent eae866476f
commit 00e082d93f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87010
17 changed files with 187 additions and 0 deletions

View File

@ -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 <sys/types.h>
#include <sys/time.h>

View File

@ -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 <sys/types.h>
#include <sys/time.h>

View File

@ -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 <sys/types.h>
#include <sys/time.h>

View File

@ -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 <sys/types.h>
#include <sys/time.h>

View File

@ -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 <sys/types.h>
#include <sys/time.h>

View File

@ -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 <sys/types.h>
#include <sys/time.h>

View File

@ -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 <sys/types.h>
#include <sys/time.h>

View File

@ -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 <sys/types.h>
#include <sys/time.h>

View File

@ -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 <sys/types.h>
#include <sys/time.h>

View File

@ -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 <sys/types.h>
#include <sys/time.h>

View File

@ -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 <sys/types.h>
#include <sys/time.h>

View File

@ -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 <sys/types.h>
#include <sys/time.h>

View File

@ -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 <sys/types.h>
#include <sys/time.h>

View File

@ -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 <sys/types.h>
#include <sys/time.h>

View File

@ -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 <sys/types.h>
#include <sys/time.h>

View File

@ -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 <sys/types.h>
#include <sys/time.h>

View File

@ -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 <sys/types.h>
#include <sys/time.h>