File: 0008-Add-include-array.patch

package info (click to toggle)
xrt 202210.2.13.466%2Bdfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 81,288 kB
  • sloc: cpp: 410,100; ansic: 134,206; sh: 6,503; python: 5,564; lisp: 1,345; makefile: 902; xml: 256; csh: 220; perl: 48; tcl: 5
file content (51 lines) | stat: -rw-r--r-- 1,824 bytes parent folder | download
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
From 92edd9d18b7cb6f5e560d4e64bc23ab97cfb58dd Mon Sep 17 00:00:00 2001
From: Nobuhiro Iwamatsu <iwamatsu@debian.org>
Date: Mon, 8 Aug 2022 16:27:34 +0900
Subject: [PATCH 8/9] Add include <array>

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@debian.org>
---
 src/runtime_src/core/pcie/tools/xbflash.qspi/xqspips.cpp | 1 +
 src/runtime_src/core/pcie/tools/xbflash.qspi/xspi.cpp    | 1 +
 src/runtime_src/core/pcie/tools/xbmgmt/xqspips.cpp       | 1 +
 3 files changed, 3 insertions(+)

diff --git a/src/runtime_src/core/pcie/tools/xbflash.qspi/xqspips.cpp b/src/runtime_src/core/pcie/tools/xbflash.qspi/xqspips.cpp
index 93d771b1b..e75a62092 100644
--- a/src/runtime_src/core/pcie/tools/xbflash.qspi/xqspips.cpp
+++ b/src/runtime_src/core/pcie/tools/xbflash.qspi/xqspips.cpp
@@ -19,6 +19,7 @@
 #include <iostream>
 #include <cassert>
 #include <cstring>
+#include <array>
 #include "xqspips.h"
 
 #include "unistd.h"
diff --git a/src/runtime_src/core/pcie/tools/xbflash.qspi/xspi.cpp b/src/runtime_src/core/pcie/tools/xbflash.qspi/xspi.cpp
index 014696b74..599e516ba 100644
--- a/src/runtime_src/core/pcie/tools/xbflash.qspi/xspi.cpp
+++ b/src/runtime_src/core/pcie/tools/xbflash.qspi/xspi.cpp
@@ -20,6 +20,7 @@
 #include <climits>
 #include <cstring>
 #include <vector>
+#include <array>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
diff --git a/src/runtime_src/core/pcie/tools/xbmgmt/xqspips.cpp b/src/runtime_src/core/pcie/tools/xbmgmt/xqspips.cpp
index 48a6e97ac..61131624f 100644
--- a/src/runtime_src/core/pcie/tools/xbmgmt/xqspips.cpp
+++ b/src/runtime_src/core/pcie/tools/xbmgmt/xqspips.cpp
@@ -19,6 +19,7 @@
 #include <iostream>
 #include <cassert>
 #include <cstring>
+#include <array>
 #include "xqspips.h"
 #include "core/pcie/driver/linux/include/mgmt-reg.h"
 #include "flasher.h"
-- 
2.36.1