From 44985f4049f8c0b9a60a41b67ad4b9a184dd8cef Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 20 Oct 2022 10:42:06 +0530 Subject: partition_tools: Include string.h for strerror in lpadd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes the following error: extras/partition_tools/lpadd.cc:81:26: error: ‘strerror’ was not declared in this scope; did you mean ‘stderr’? 81 | << strerror(saved_errno) << std::endl; | ^~~~~~~~ | stderr Change-Id: I05da9a447be4024943caab73bdc38776d9caa40e --- partition_tools/lpadd.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/partition_tools/lpadd.cc b/partition_tools/lpadd.cc index 7374e774..b2b1c74f 100644 --- a/partition_tools/lpadd.cc +++ b/partition_tools/lpadd.cc @@ -13,6 +13,7 @@ // limitations under the License. #include +#include #include #include -- cgit v1.2.3