Skip to content

Commit

Permalink
tests/sys/fs/fusefs: include iomanip header
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ngie-eign authored and bsdjhb committed Jan 28, 2025
2 parents d1883bf + 0077477 commit fc58f4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/sys/fs/fusefs/io.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ extern "C" {
#include <unistd.h>
}

#include <iomanip>

#include "mockfs.hh"
#include "utils.hh"

Expand Down

0 comments on commit fc58f4b

Please sign in to comment.