From db57773a96d1108bdad78ff3d1359a88d9689912 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sun, 17 Nov 2024 16:39:15 +0100 Subject: string_view: Include missing headers Specifically the lack of the `string_view` include is causing compilation failures for rust-rust-apt. Running iwyu also adds `algorithm` for our use of `std::min`, and `iosfwd` for our use of `std::ostream` none of which seem to be causing build failures so far. --- apt-pkg/contrib/string_view.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apt-pkg') diff --git a/apt-pkg/contrib/string_view.h b/apt-pkg/contrib/string_view.h index 6224e2ac4..538e79a92 100644 --- a/apt-pkg/contrib/string_view.h +++ b/apt-pkg/contrib/string_view.h @@ -12,8 +12,11 @@ #if !defined(APT_STRINGVIEW_H) #define APT_STRINGVIEW_H #include +#include #include +#include #include +#include #if APT_PKG_ABI > 600 namespace APT { -- cgit v1.2.3-70-g09d2