git: eb331308b0d5 - stable/13 - tests/sys/fs/fusefs: include iomanip header
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Mar 2025 21:09:51 UTC
The branch stable/13 has been updated by ngie: URL: https://cgit.FreeBSD.org/src/commit/?id=eb331308b0d59eeb00b40a25580d4091dd9cc07e commit eb331308b0d59eeb00b40a25580d4091dd9cc07e Author: Enji Cooper <ngie@FreeBSD.org> AuthorDate: 2024-10-19 15:34:07 +0000 Commit: Enji Cooper <ngie@FreeBSD.org> CommitDate: 2025-03-26 19:34:05 +0000 tests/sys/fs/fusefs: include iomanip header io.cc relies on `std::setw(..)`, which is exported by the iomanip C++ header. Newer versions of GoogleTest don't export this header, so add the explicit include. This unbreaks the build with GoogleTest 1.15.2. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D47194 (cherry picked from commit 0077477f215c851fe15c9ea12cfb005125c4238a) --- tests/sys/fs/fusefs/io.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/sys/fs/fusefs/io.cc b/tests/sys/fs/fusefs/io.cc index f6c7975ac36e..03294b9da2a1 100644 --- a/tests/sys/fs/fusefs/io.cc +++ b/tests/sys/fs/fusefs/io.cc @@ -38,6 +38,8 @@ extern "C" { #include <unistd.h> } +#include <iomanip> + #include "mockfs.hh" #include "utils.hh"