From 4dd5e241af25eeac5d1b6b61b73aa73614130d7c Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sun, 20 Mar 2022 14:24:28 +0100 Subject: Fix build failure with gcc-12 due to missing include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit apt/test/interactive-helper/aptwebserver.cc: In function ‘std::string HTMLEncode(std::string)’: error: variable ‘constexpr const std::array, 6> htmlencode’ has initializer but incomplete type Reported-By: Helmut Grohne on IRC --- test/interactive-helper/aptwebserver.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'test/interactive-helper') diff --git a/test/interactive-helper/aptwebserver.cc b/test/interactive-helper/aptwebserver.cc index d4bac24d1..f4f8d95eb 100644 --- a/test/interactive-helper/aptwebserver.cc +++ b/test/interactive-helper/aptwebserver.cc @@ -21,6 +21,7 @@ #include #include +#include #include #include #include -- cgit v1.2.3-70-g09d2