1From 5985f366750a73c81c7d86893a2b959b4af062a5 Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Wed, 26 May 2021 22:12:46 -0700 4Subject: [PATCH] aptwebserver.cc: Include <array> 5 6This helps getting std::array definition 7 8Fixes 9test/interactive-helper/aptwebserver.cc:36:55: error: constexpr variable cannot have non-literal type 'const std::array<std::array<const char *, 2>, 6>' 10 constexpr std::array<std::array<char const *,2>,6> htmlencode = {{ 11 12Upstream-Status: Submitted [https://github.com/Debian/apt/pull/133] 13Signed-off-by: Khem Raj <raj.khem@gmail.com> 14 15--- 16 test/interactive-helper/aptwebserver.cc | 1 + 17 1 file changed, 1 insertion(+) 18 19diff --git a/test/interactive-helper/aptwebserver.cc b/test/interactive-helper/aptwebserver.cc 20index f4f8d95..361c7a9 100644 21--- a/test/interactive-helper/aptwebserver.cc 22+++ b/test/interactive-helper/aptwebserver.cc 23@@ -23,6 +23,7 @@ 24 25 #include <array> 26 #include <algorithm> 27+#include <array> 28 #include <fstream> 29 #include <iostream> 30 #include <list> 31