From 06d0c12be00ee50c965830127f5812d2156681b1 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Wed, 18 Jun 2025 14:03:19 +0000 Subject: Include standard headers to fix clang compiler error This commit fixes the following compiler errors. apt-pkg/acquire.cc:833:51: error: no template named 'function' in namespace 'std' apt-pkg/contrib/error.cc:198:59: error: no member named 'front_inserter' in namespace 'std' apt-pkg/solver3.h:44:22: error: no template named 'is_trivially_constructible_v' in namespace 'std' methods/http.cc:1029:24: error: no member named 'inserter' in namespace 'std' --- apt-pkg/contrib/error.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'apt-pkg/contrib/error.cc') diff --git a/apt-pkg/contrib/error.cc b/apt-pkg/contrib/error.cc index d08d5e008..b60a25ac3 100644 --- a/apt-pkg/contrib/error.cc +++ b/apt-pkg/contrib/error.cc @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3-70-g09d2