mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-31 05:41:08 +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:
parent
eae866476f
commit
00e082d93f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87010
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
Loading…
Reference in New Issue
Block a user