From: wolf Date: Mon, 28 Jan 2002 08:35:56 +0000 (+0000) Subject: Include time.h in addition to resource.h, to work around a problem in X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de6e767d7e68505c362d3a3940259b595032bdbf;p=dealii-svn.git 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 --- 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,