git: 7286b7242c31 - stable/14 - tests/sys/fs/fusefs: include iomanip header
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Mar 2025 20:29:46 UTC
The branch stable/14 has been updated by ngie: URL: https://cgit.FreeBSD.org/src/commit/?id=7286b7242c312eed08932e50f70554ff452e5eda commit 7286b7242c312eed08932e50f70554ff452e5eda Author: Enji Cooper <ngie@FreeBSD.org> AuthorDate: 2024-10-19 15:34:07 +0000 Commit: Enji Cooper <ngie@FreeBSD.org> CommitDate: 2025-03-25 20:25:31 +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 766148044b32..ced291836da0 100644 --- a/tests/sys/fs/fusefs/io.cc +++ b/tests/sys/fs/fusefs/io.cc @@ -37,6 +37,8 @@ extern "C" { #include <unistd.h> } +#include <iomanip> + #include "mockfs.hh" #include "utils.hh"