From 8d2342ec80feeda8a30a87c2faa662bc9ce3b8ec Mon Sep 17 00:00:00 2001 From: Ralf Hartmann Date: Fri, 22 Oct 2004 13:53:10 +0000 Subject: [PATCH] When HAVE_HSL_MA27 and HAVE_HSL_MA47 are undefined, the errno.h file is not included which is needed for errno==EINTR to be compiled. Therefore revert last patch. git-svn-id: https://svn.dealii.org/trunk@9720 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/source/sparse_direct.cc | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/deal.II/lac/source/sparse_direct.cc b/deal.II/lac/source/sparse_direct.cc index 332bd21ff7..46b0d5f4cc 100644 --- a/deal.II/lac/source/sparse_direct.cc +++ b/deal.II/lac/source/sparse_direct.cc @@ -22,27 +22,24 @@ #include #include +#include +#include +#include +#include + +#ifndef DEAL_II_USE_DIRECT_ERRNO_H +# include +#else +# include +#endif +#include + // if we know that at least one of the HSL functions are there, // include the respective include file. Otherwise save some CPU cycles // in the compiler -// -// also, we don't need all the other headers if the respective hsl -// routines aren't used #if defined(HAVE_HSL_MA27) || defined(HAVE_HSL_MA47) # include - -# include -# include -# include -# include - -# ifndef DEAL_II_USE_DIRECT_ERRNO_H -# include -# else -# include -# endif -# include #endif // include UMFPACK file. -- 2.39.5