From: Wolfgang Bangerth Date: Wed, 30 Apr 2025 15:53:00 +0000 (-0600) Subject: Let files that use MPI include the necessary headers. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F18401%2Fhead;p=dealii.git Let files that use MPI include the necessary headers. --- diff --git a/include/deal.II/distributed/p4est_wrappers.h b/include/deal.II/distributed/p4est_wrappers.h index b703377b03..477ba17fd5 100644 --- a/include/deal.II/distributed/p4est_wrappers.h +++ b/include/deal.II/distributed/p4est_wrappers.h @@ -20,6 +20,9 @@ #include #ifdef DEAL_II_WITH_P4EST + +# include + # include # include # include diff --git a/include/deal.II/lac/petsc_precondition.h b/include/deal.II/lac/petsc_precondition.h index a5169f9b06..a34d2841fd 100644 --- a/include/deal.II/lac/petsc_precondition.h +++ b/include/deal.II/lac/petsc_precondition.h @@ -19,6 +19,7 @@ #include #include +#include #include #ifdef DEAL_II_WITH_PETSC