summarylogtreecommitdiffstats
path: root/0002-add-missing-include-for-build-with-GCC-12.patch
blob: 4de48093e32aaa17473f8d51a9839655b0bae828 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 9687af766089e11005bdb50c53d37f6809409b2b Mon Sep 17 00:00:00 2001
From: Robert Falkenberg <robert.falkenberg@srs.io>
Date: Thu, 12 May 2022 06:42:15 +0200
Subject: [PATCH] add missing include for build with GCC 12

Related info: https://gcc.gnu.org/gcc-12/porting_to.html
---
 lib/include/srsran/srslog/bundled/fmt/core.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/include/srsran/srslog/bundled/fmt/core.h b/lib/include/srsran/srslog/bundled/fmt/core.h
index d676f27e5..04a85f295 100644
--- a/lib/include/srsran/srslog/bundled/fmt/core.h
+++ b/lib/include/srsran/srslog/bundled/fmt/core.h
@@ -8,7 +8,8 @@
 #ifndef FMT_CORE_H_
 #define FMT_CORE_H_
 
-#include <cstdio>  // std::FILE
+#include <array>
+#include <cstdio> // std::FILE
 #include <cstring>
 #include <functional>
 #include <iterator>
-- 
2.36.1