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

