From 435e56369c8f28b1f6479aaf99f8b9552a336c47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Sat, 16 Jul 2022 12:46:16 +0200
Subject: [PATCH] Compatibility fixes with GCC 12

---
 src/macro/Directives.cc  | 1 +
 src/macro/Driver.cc      | 2 ++
 src/macro/Expressions.cc | 2 ++
 3 files changed, 5 insertions(+)

diff --git a/src/macro/Directives.cc b/src/macro/Directives.cc
index 4f441cde..c576249e 100644
--- a/src/macro/Directives.cc
+++ b/src/macro/Directives.cc
@@ -21,6 +21,7 @@
 #include "Driver.hh"
 
 #include <fstream>
+#include <utility>
 
 using namespace macro;
 
diff --git a/src/macro/Driver.cc b/src/macro/Driver.cc
index f4a7351c..85743f04 100644
--- a/src/macro/Driver.cc
+++ b/src/macro/Driver.cc
@@ -18,7 +18,9 @@
  */
 
 #include "Driver.hh"
+
 #include <regex>
+#include <utility>
 
 using namespace macro;
 
diff --git a/src/macro/Expressions.cc b/src/macro/Expressions.cc
index 7c6e6310..9d34f817 100644
--- a/src/macro/Expressions.cc
+++ b/src/macro/Expressions.cc
@@ -17,6 +17,8 @@
  * along with Dynare.  If not, see <https://www.gnu.org/licenses/>.
  */
 
+#include <utility>
+
 #include "Expressions.hh"
 
 using namespace macro;
-- 
GitLab