From 278aae43f6eee937a271872582d280ea9afb7ac6 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 28 Jan 2002 08:35:56 +0000 Subject: [PATCH] Include time.h in addition to resource.h, to work around a problem in Mac OS X. git-svn-id: https://svn.dealii.org/trunk@5423 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/log.cc | 3 +++ deal.II/doc/news/2001/c-3-2.html | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/deal.II/base/source/log.cc b/deal.II/base/source/log.cc index bc33fbc9ab..38f40be604 100644 --- a/deal.II/base/source/log.cc +++ b/deal.II/base/source/log.cc @@ -16,7 +16,10 @@ #include #include +// include sys/resource.h for rusage(). Mac OS X needs sys/time.h then +// as well strange), so include that, too. #include +#include #include #include #include diff --git a/deal.II/doc/news/2001/c-3-2.html b/deal.II/doc/news/2001/c-3-2.html index 12ef8af464..88a3fe15bf 100644 --- a/deal.II/doc/news/2001/c-3-2.html +++ b/deal.II/doc/news/2001/c-3-2.html @@ -115,6 +115,14 @@ documentation, etc.

base

    +
  1. + Fixed: For Mac OS X, the file base/source/log.cc + needed to include sys/time.h in addition to + sys/resource.h. +
    + (Alexis Herault, WB 2002/01/28) +

    +
  2. Improved: The cut-off functions Functios::CutOffFunctionLinfty,