From c970c5e1652dc8a3417930d829a794d6cc4d5ce5 Mon Sep 17 00:00:00 2001
From: Wolfgang Bangerth <bangerth@colostate.edu>
Date: Wed, 12 Mar 2025 18:09:45 -0600
Subject: [PATCH] Add necessary std header files.

---
 source/base/polynomials_integrated_legendre_sz.cc | 2 ++
 source/grid/grid_generator.cc                     | 1 +
 source/lac/exceptions.cc                          | 3 +++
 source/lac/tensor_product_matrix.cc               | 3 +++
 source/numerics/vector_tools_project_qp.cc        | 2 ++
 source/numerics/vector_tools_project_qpmf.cc      | 3 +++
 6 files changed, 14 insertions(+)

diff --git a/source/base/polynomials_integrated_legendre_sz.cc b/source/base/polynomials_integrated_legendre_sz.cc
index 7faf5262e1..3d179dd889 100644
--- a/source/base/polynomials_integrated_legendre_sz.cc
+++ b/source/base/polynomials_integrated_legendre_sz.cc
@@ -15,6 +15,8 @@
 
 #include <deal.II/base/polynomials_integrated_legendre_sz.h>
 
+#include <vector>
+
 DEAL_II_NAMESPACE_OPEN
 
 IntegratedLegendreSZ::IntegratedLegendreSZ(const unsigned int k)
diff --git a/source/grid/grid_generator.cc b/source/grid/grid_generator.cc
index b2954e83da..8e80409127 100644
--- a/source/grid/grid_generator.cc
+++ b/source/grid/grid_generator.cc
@@ -32,6 +32,7 @@
 
 #include <array>
 #include <cmath>
+#include <complex>
 #include <limits>
 
 
diff --git a/source/lac/exceptions.cc b/source/lac/exceptions.cc
index 2466c66e00..485709739c 100644
--- a/source/lac/exceptions.cc
+++ b/source/lac/exceptions.cc
@@ -16,10 +16,13 @@
 
 #include <deal.II/lac/exceptions.h>
 
+#include <iostream>
+
 #ifdef DEAL_II_WITH_PETSC
 #  include <petscsys.h>
 #endif // DEAL_II_WITH_PETSC
 
+
 DEAL_II_NAMESPACE_OPEN
 
 namespace LACExceptions
diff --git a/source/lac/tensor_product_matrix.cc b/source/lac/tensor_product_matrix.cc
index 560996e2d4..f42dfe2283 100644
--- a/source/lac/tensor_product_matrix.cc
+++ b/source/lac/tensor_product_matrix.cc
@@ -14,6 +14,9 @@
 
 #include <deal.II/lac/tensor_product_matrix.templates.h>
 
+#include <array>
+
+
 DEAL_II_NAMESPACE_OPEN
 
 namespace internal
diff --git a/source/numerics/vector_tools_project_qp.cc b/source/numerics/vector_tools_project_qp.cc
index df99fa393a..f5d5ad9d3f 100644
--- a/source/numerics/vector_tools_project_qp.cc
+++ b/source/numerics/vector_tools_project_qp.cc
@@ -15,6 +15,8 @@
 
 #include <deal.II/numerics/vector_tools_project.templates.h>
 
+#include <functional>
+
 
 DEAL_II_NAMESPACE_OPEN
 
diff --git a/source/numerics/vector_tools_project_qpmf.cc b/source/numerics/vector_tools_project_qpmf.cc
index 97262cba3a..ca0f167ea1 100644
--- a/source/numerics/vector_tools_project_qpmf.cc
+++ b/source/numerics/vector_tools_project_qpmf.cc
@@ -15,6 +15,9 @@
 
 #include <deal.II/numerics/vector_tools_project.templates.h>
 
+#include <functional>
+#include <memory>
+
 DEAL_II_NAMESPACE_OPEN
 
 // ---------------------------- explicit instantiations --------------------
-- 
2.39.5